Hi, would it be (easily) possible to have a distinct kind of "type" for a node, for example: if type(myobject)=="node" then do whatever end could be of course tex.node or something else. Patrick
On 09/09/2010 06:42 PM, Patrick Gundlach wrote:
Hi,
would it be (easily) possible to have a distinct kind of "type" for a node, for example:
if type(myobject)=="node" then do whatever end
That is somewhat messy, but node.isnode(myobject) returning a boolean would be simple. (remind me next week) Best wishes, Taco
Am 09.09.2010 um 20:13 schrieb Taco Hoekwater:
On 09/09/2010 06:42 PM, Patrick Gundlach wrote:
Hi,
would it be (easily) possible to have a distinct kind of "type" for a node, for example:
if type(myobject)=="node" then do whatever end
That is somewhat messy, but node.isnode(myobject) returning a boolean would be simple.
great!
(remind me next week)
I will :) Patrick
participants (2)
-
Patrick Gundlach
-
Taco Hoekwater