The object's data.
Search the array for this object and return the corresponding index.
If strict
is false, is()
is used to compare. If strict
is true,
equals()
is used.
The array to search.
Optional
strict: booleanWhether to use stronger comparison.
The index if the object is in the array, -1 if it isn't.
Check whether this object is in an array.
If strict
is false, is()
is used to compare. If strict
is true,
equals()
is used.
The array to search.
Optional
strict: booleanWhether to use stronger comparison.
True if the object is in the array, false if it isn't.
Refresh the object from storage. (Bypasses Nymph's cache.)
If the object has been deleted from storage, the database cannot be
reached, or a database error occurs, refresh()
will return 0.
False if the data has not been saved, 0 if it can't be refreshed, true on success.
Data Object interface.
Objects which hold data from some type of storage.