Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 2.17 KB

File metadata and controls

28 lines (19 loc) · 2.17 KB

int()

Casts a value to an int.

Note that the actuals in the data signatures are types that the value must convert to. A bool True would convert to 1 and would therefore be castable using this function.

Data signatures
int( cast this: $${\color{green}None}$$ ǁ $${\color{green}int}$$ ǁ $${\color{green}float}$$ )
Call signatures
int( cast this: Term ǁ Variable ǁ Header ǁ Function )
Purpose Value
Main focus int() produces a calculated value
Context Qualifier
Match qualifiers onmatch
Value qualifiers onmatch

[Back to index]