is_item

Declaration

is_item (name: STRING)

Description

Returns true if an item with that name is in the database. Use this to determine if a particular page is included with your distribution.

See Also

database functions
Database

Example

script go_to_extra_content is
  if not is_item ('extra_content') then
    message ('you have not installed the extra content', Message_error)
  end
end