is keyed

operator

Return type:
Switch
Returns:
Returns true if the item has a key, and false otherwise. Replacing is with isnt will reverse the results.
Syntax
shelf indexer? (is | isnt) keyed


Purpose

Tests whether the specified shelf item has a key associated with it.

If no item is specified, then the test looks at the default item. This form is primarily useful either within actions modified by the using prefix or in functions.

An error is produced if the specified item does not exist.

Related Concepts