Function: keyword_usage

Function: keyword_usage


 keyword_usage(card: some_card)

Returns a comma separated list of the keywords that appear on the card.

For example if a card contains the keywords "Flying" and "Haste" the function will return "Flying, Haste".

If a keyword appears multiple times on the card it will also appear multiple times in the output, unless unique is specified.


Parameter Type Description
card card Card to find keywords on.
unique boolean (optional) Return each keyword at most once.


 keyword_usage(card: some_card, unique: false) == "Flying, Flying, Haste"
 keyword_usage(card: some_card, unique: true)  == "Flying, Haste"