def allowed.ok.at

shake@0.7.0.0 · src/cli.bend:412

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

412# whether `v` is among the choices; an empty list accepts any value
413def allowed.ok.at(hit: Bool, rest: Bool) -> Bool:
414  match hit:
415    case True{}:
416      True{}
417    case False{}:
418      rest

Uses (1)

Used by (1)