Pudu programming language
Menu
API reference

Std.Bool.toInt

1 declaration

fn

toInt: Bool -> Int

This is a callable function.

What it does

A truth value as a whole number: one for true, nought for false.

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