def is_alike

bend-lint-rules@0.2.0.0 · performance/missed_fork.bend:217

import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedFork
import Base

217# Whether `texts`, the calls of one finding, are all written the same way.
218def is_alike(texts: List<&2, String>) -> Bool:
219  match texts:
220    case Con{t, rest}:
221      alike.go(rest, t, True{})
222    case Nil{}:
223      True{}

Uses (4)

Used by (2)