Std.Path.hasExtension
1 declaration
fn
hasExtension: Str -> Str -> BoolThis is a callable function.
What it does
Whether a path carries the given extension, compared without regard to case.
File systems disagree about whether a name's case matters, and a caller
asking whether something is a text file means the question either way.
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.
