Name
cfontoptions:IsNull -- check if font options object is invalid
Synopsis
bool = cfontoptions:IsNull()
Function
Returns True if the font options object is NULL, i.e. invalid. If functions that allocate objects fail, they might not throw an error but simply set the object to NULL. You can use this function to check if object allocation has failed in which case the object will be NULL.

Also, certain getter functions can return a NULL object in case the object doesn't exist. You can use this function to check if a getter function returned a NULL handle.

Inputs
none

Results
bool
True if the object is NULL, otherwise False

Show TOC