Difference between revisions of "To boolean"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m (Created page with '{{ #vardefine:name|to_boolean}}{{ #vardefine:return_type|any}}{{ FunctionPage| name={{#var:name}}| function_category=Datatype Conversions| function1={{Function| name={{#var:nam…')
 
imported>StDoodle
m
Line 1: Line 1:
 
{{
 
{{
 
#vardefine:name|to_boolean}}{{
 
#vardefine:name|to_boolean}}{{
#vardefine:return_type|any}}{{
+
#vardefine:return_type|boolean}}{{
  
 
FunctionPage|
 
FunctionPage|

Revision as of 00:05, 11 March 2010

needs(code_samples);

Function Syntax

boolean to_boolean(any anything )

  • anything is any data type that KoLmafia uses

Converts stuff.

  • strings do this
  • ints do that.

    CLI Equivalent

    The CLI command

    See Also