def truth

bendtorch-core@0.1.0.0 · src/shape/core.bend:522

import bendtorch-core@0.1.0.0/src/shape/core.bend as Core
import Base

522def truth(value: Bool) -> Data:
523  match value:
524    case True{}:
525      Unit
526    case False{}:
527      Empty

Uses (3)

Used by (2)