Std.Glob.isLiteral
1 declaration
fn
isLiteral: Str -> BoolThis is a callable function.
What it does
Whether a pattern has anything in it that varies.
A pattern with nothing to match is a name, and a caller can look it up
directly rather than walking a tree to compare every path against it.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
