Difference between revisions of "Is tradeable"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
imported>StDoodle
Line 1: Line 1:
'''boolean is_tradeable( item )'''
+
{{#vardefine:name|is_tradeable}}
 +
{{#vardefine:return_type|boolean}}
 +
{{FunctionPage|
 +
name={{#var:name}}|
 +
function_category=Item Management|
  
Returns true if the item you requested is tradeable, and false otherwise.
+
function1={{Function|
 +
name={{#var:name}}|
 +
aggregate={{#var:aggregate}}|
 +
return_type={{#var:return_type}}|
 +
return_also={{#var:return_also}}|
 +
parameter1={{Param|item|check_me}}|
 +
p1desc={{Pspan|check_me}} is an item to test|
 +
}}|
 +
 
 +
function_description=This function checks to see if the item {{pspan|check_me}} can be traded, returning true if it can and false otherwise.|
 +
 
 +
needscode=yes|
 +
 
 +
see_also={{SeeAlso|is_displayable|is_giftable}}|
 +
}}

Revision as of 19:37, 5 March 2010


needs(code_samples);

Function Syntax

boolean is_tradeable(item check_me )

  • check_me is an item to test

This function checks to see if the item check_me can be traded, returning true if it can and false otherwise.

See Also

is_displayable() | is_giftable()