To int

From Kolmafia
Revision as of 23:49, 13 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|to_boolean}}{{ #vardefine:return_type|boolean}}{{ FunctionPage| name={{#var:name}}| function_category=Datatype Conversions| function1={{Function| name={{#var…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

boolean to_boolean( any anything)

  • anything is any data type that KoLmafia uses

Datatype behaviour:

  • boolean values return 0 for false and 1 for true