def pos.is.kind

shake@0.7.0.0 · src/cli.bend:358

import shake@0.7.0.0/src/cli.bend as Cli
import Base

358# whether this Arg is a positional
359def pos.is.kind(kk: ArgKind) -> Bool:
360  match kk:
361    case Pos{}:
362      True{}
363    case Rest{}:
364      True{}
365    case Flag{}:
366      False{}
367    case Opt{}:
368      False{}
369    case Many{}:
370      False{}

Uses (2)

Used by (1)