def env.get.at

shake@0.7.0.0 · src/cli.bend:1547

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

1547# this pair's value when its name matches, else the rest
1548def env.get.at(hit: Bool, +vv: String, rest: Maybe<&2, String>) -> Maybe<&2, String>:
1549  match hit:
1550    case True{}:
1551      Some{vv}
1552    case False{}:
1553      rest

Uses (3)

Used by (1)