Vendetta/helium/api/is iup

From Quasar-RCE
Jump to navigationJump to search

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.