def is_flat.expand

bend-lint-rules@0.2.0.0 · performance/gpu_fit.bend:101

import bend-lint-rules@0.2.0.0/performance/gpu_fit.bend as GpuFit
import Base

101def is_flat.expand(
102  known: Bool,
103  t: String,
104  rest: List<&2, String>,
105  slots: List<&2, Slot>
106) -> Maybe<&2, List<&2, String>>:
107  match known:
108    case True{}:
109      Some{fields(slots, t, rest)}
110    case False{}:
111      None{}

Uses (6)

Used by (1)