def width

bolt@1.27.0.0 · src/rules/tokens.bend:85

import bolt@1.27.0.0/src/rules/tokens.bend as Tokens
import Base

85# a text's width in chars
86def width(tt: String) -> U32:
87  U32.from_nat(String.length(tt))

Uses (4)

Used by (3)