def seq

bolt@1.27.0.0 · src/rules/calls.bend:255

import bolt@1.27.0.0/src/rules/calls.bend as Calls
import Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree

255# does the def walk a list or a string (its first live parameter's type)?
256def seq(sig: Tree.Node) -> Bool:
257  +h = walked(sig)
258  Bool.or(String.eq(h, "List"), String.eq(h, "String"))

Uses (5)

Used by (1)