[Dev-luatex] test on node

Taco Hoekwater taco at elvenkind.com
Thu Sep 9 20:13:30 CEST 2010


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


More information about the dev-luatex mailing list