def is_ident_at

bend-lint-rules@0.2.0.0 · layout/format.bend:349

import bend-lint-rules@0.2.0.0/layout/format.bend as Format
import Base

349# A word character, or a dot before the start of a word.
350def is_ident_at(s: String) -> Bool:
351  match s:
352    case SNil{}:
353      False{}
354    case SCon{+c, rest}:
355      is_ident_at.of(Char.is_eq(c, '.'), c, rest)

Uses (5)

Used by (1)