def split_hash.of

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

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

2121def split_hash.of(r: Run) -> Hash:
2122  match r:
2123    case Run{before, n, SNil{}, last}:
2124      Hash{before, None{}}
2125    case Run{before, n, rest, last}:
2126      Hash{before, Some{rest}}

Uses (4)

Used by (1)