def when

bend-collections@1.0.0.0 · src/crypto/poly1305/poly1305.bend:76

import bend-collections@1.0.0.0/src/crypto/poly1305/poly1305.bend as Poly1305
import Base

76def when(ok: Bool, x: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
77  match ok:
78    case True{}: Some{x}
79    case False{}: None{}

Uses (4)

Used by (1)