def is_chain

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

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

1324def is_chain(s: Schema) -> Bool:
1325  match s:
1326    case SVariant{n, vs, rest}:
1327      is_chain(rest)
1328    case SVEnd{}:
1329      True{}
1330    case _:
1331      False{}

Uses (2)

Used by (0)

No other definition uses this definition.