%isItemId()

Aliases%isItemId( )
Parametersinteger @id

    Returns 1 if @id corresponds to a valid item description. This is useful
for checking to see if a given item exists before attempting to load it.
In most cases you won't need to do such a check, but in rare instances
when the area may not be loaded for the item, then this will prevent the
%load() function from firing an error if it can't find the item.

Example:

if( %isItemId( @someId ) )
{
%load( item, @someId, @roomId )
}
endif