Pudu programming language
Menu
API reference

Std.Path.isAbsolute

1 declaration

fn

isAbsolute: Str -> Bool

This is a callable function.

What it does

Whether a path names a place from the root rather than from somewhere else.

Two shapes count. One family of operating system writes a leading

separator; the other writes a drive letter, a colon, and a separator, and

also admits the leading separator alone.

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.

Back to Std.PathSearch related declarations