def rest.is.kind

shake@0.7.0.0 · src/cli.bend:372

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

372# whether this ArgKind is rest
373def rest.is.kind(kk: ArgKind) -> Bool:
374  match kk:
375    case Rest{}:
376      True{}
377    case Pos{}:
378      False{}
379    case Flag{}:
380      False{}
381    case Opt{}:
382      False{}
383    case Many{}:
384      False{}

Uses (2)

Used by (3)