def text.find.end

ezsys@0.1.0.0 · src/str.bend:199

import ezsys@0.1.0.0/src/str.bend as Str
import Base

199# at the end of the text only an empty needle is found
200def text.find.end(needle: String) -> Maybe<&2, U32>:
201  match needle:
202    case SNil{}:
203      Some{0}
204    case SCon{_h, _t}:
205      None{}

Uses (3)

Used by (1)