Is trendy

From Kolmafia
Revision as of 11:22, 24 November 2011 by imported>Bale (new in r10003)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

boolean is_trendy(item thing )

boolean is_trendy(familiar thing )

boolean is_trendy(skill thing )

boolean is_trendy(string thing )

  • thing is checked for trendiness

This function checks to see if the thing is currently trendy. thing can be an item, familiar, skill. It can also be a string to check all categories. Using the string parameter is the only way to check a campground items. Bookshelf skills are checked by the skill parameter.

Fuzzy matching is not used for a string parameter so you need to spell it properly, including character entities. Otherwise it will not match against the item, familiar or skill in the database.

See Also

is_giftable() | is_tradeable()