def String.trim_start.if

Base · base.bend:2245

import Base
2245def String.trim_start.if(t: String, h: Char, space: Bool) -> String:
2246  match space:
2247    case False{}:
2248      SCon{h, t}
2249    case True{}:
2250      String.trim_start(t)

Uses (4)

Used by (1)