def cluster.ends

shake@0.7.0.0 · src/cli.bend:906

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

906# whether the letters after this one are no longer read as letters: an
907# unknown letter, an option (they are its value) or a flag given `=`
908def cluster.ends(found: Maybe<&2, Arg>, +rest: String) -> Bool:
909  match found:
910    case None{}:
911      True{}
912    case Some{aa}:
913      Arg{_n, _s, _l, kind, _h, _r, _d, _c} = aa
914      cluster.ends.kind(kind, rest)

Uses (5)

Used by (1)