before
ErrorsCollection

before

Synthesised documentation from type/StrDistance language/operators

From type/StrDistance

See Original text in context

This is actually a class attribute, and called as a method returns the string before the transformation:

say $str-dist.before# OUTPUT: «fold␤» 

From language/operators

See Original text in context

multi sub infix:<before>(Any,       Any)
multi sub infix:<before>(Real:D,    Real:D)
multi sub infix:<before>(Str:D,     Str:D)
multi sub infix:<before>(Version:DVersion:D)

Generic ordering, uses the same semantics as cmp. Returns True if the first argument is smaller than the second.