def nonempty

bend-kit-webhooks@0.11.0.1 · webhooks.bend:132

import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

132def nonempty(m: Maybe<&1, Bytes.Bytes>) -> Maybe<&1, Bytes.Bytes>:
133  match m:
134    case None{}:
135      None{}
136    case Some{b}:
137      nonempty.of(b)

Uses (3)

Used by (2)