To boolean: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
mNo edit summary
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={{Param||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:06, 11 March 2010

needs(code_samples);

Function Syntax

boolean to_boolean([[Data Types#|]] anything )

  • anything is any data type that KoLmafia uses

Converts stuff.

  • strings do this
  • ints do that.

    CLI Equivalent

    The CLI command

    See Also