ds_list_exists(id)

From ENIGMA
Jump to navigation Jump to search

Description

Gets whether or not the given data structure list exists or not and returns the result.

Parameters

Parameter Data Type Description
id constant unsigned integer index of the list

Return Values

boolean: Returns whether the list exists or not.

Example Call

// demonstrates checking if a data structure list exists
if (ds_list_exists(mylist)) {
  // list does exist
} else {
  // list does not exist
}