Pudu programming language
Menu
API reference

Std.Char.isWhitespace

1 declaration

fn

isWhitespace: Char -> Bool

This is a callable function.

What it does

Whether a character is a space, tab, carriage return, or newline.

The set is the ASCII one: recognising every Unicode space needs a table the

compiler does not yet carry, and claiming to without one would be worse than

saying so.

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.CharSearch related declarations