Difference between revisions of "To boolean"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 12: Line 12:
 
return_type={{#var:return_type}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
return_also={{#var:return_also}}|
parameter1={{Param|any|anything}}|
+
parameter1= '''any''' {{pspan|anything}}|
 
p1desc={{Pspan|anything}} is any data type that KoLmafia uses|
 
p1desc={{Pspan|anything}} is any data type that KoLmafia uses|
 
}}|
 
}}|

Revision as of 00:10, 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