existproperty
Description:
Function existproperty check if a property exist.
This function name starts with a lowercase letter. |
Parameters:
(id = 0, name[] = "", value = cellmin)
int | id | The virtual machine to use, you should keep this zero. |
string | name | The property's name, you should keep this "". |
int | value | The property's unique ID. Use the hash-function to calculate it from a string. |
Return Values:
True if the property exists and false otherwise.
Examples:
if ( existproperty(0, "", 123984334) ) { //the property exists, do something }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- setproperty: Set a property.
- getproperty: Get the value of a property.
- deleteproperty: Delete a property.