Vendetta/helium/api/is iup: Difference between revisions
From Quasar-RCE
Jump to navigationJump to search
created helium.util.is_iup |
(No difference)
|
Latest revision as of 18:38, 5 June 2025
Tests if an element is an iup object. Does not check if the element is a VALID iup object, however. Instead, use iup.IsValid().
Definition
helium.util.is_iup(ihandle) -> iup_flag
Arguments
ihandle: type *iup_object: Provide any iup userdata
Returns
iup_flag: type boolean: true if the item is an iup userdata, false if it is not
Notes
This function was copied from Draugath before iup.IsValid was discovered, and is kept for posterity.