def not_list

bend-schema-lib@0.4.1.0 · core.bend:1069

import bend-schema-lib@0.4.1.0/core.bend as Core
import Base

1069def not_list(x: Raw, p: List<&2, Step>) -> Maybe<&2, Why>:
1070  match p:
1071    case Nil{}:
1072      Some{missing_or(x, NotList{})}
1073    case st <> q:
1074      None{}

Uses (6)

Used by (1)