def st_fin

bend-collections@1.0.0.0 · src/math/generic.bend:165

import bend-collections@1.0.0.0/src/math/generic.bend as Generic
import Base

165def st_fin(-T: Data, st: T & Bool) -> Maybe<&2, T>:
166  match st:
167    case Tuple{+a, +aok}:
168      fits(T, Bool.not(aok), a)

Uses (6)

Used by (1)