[Zope] Re: [Zope-dev] Stupid dtml-if comparision

Chris Beaven chris@d-designz.co.nz
Fri, 07 Mar 2003 13:22:32 +1300


>
>
>... Unfortunately the type() 
>built-in isn't available in DTML or Python scripts (if you go to an 
>ExternalMethod you should be able to use it.)
>
You can, however, use same_type(var1, var2).
See http://www.zopelabs.com/cookbook/995873707