def miss.arg

shake@0.7.0.0 · src/cli.bend:1405

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

1405# whether this Arg is required and unbound
1406def miss.arg(
1407  aa: Arg,
1408  +binds: List<&2, Bind>,
1409  rest: Maybe<&2, String>
1410) -> Maybe<&2, String>:
1411  Arg{+n, _s, _l, _k, _h, +req, _d, _c} = aa
1412  miss.one(Bool.and(req, Bool.not(bound(binds, n))), n, rest)

Uses (9)

Used by (1)