isclassof

guerilla.isclassof(node, type)

Returns true if the object is compatible with this class

Exemple :

LUA{ – Check the document is derived from the type Node assert (isclassof (Document, “Node”)) – Check OK }

param node:The object to check
type node:{}
param type:The class to check
type type:str