1 Mar
2000
1 Mar
'00
11:37 a.m.
Have a look at the python 'type' stuff. I think something like: ------- import types def is_list(obj): if type(obj) == types.ListType: return 1 else: return 0 ------- will do this, as an external method. -Ed On Tue, 29 Feb 2000, Jason Spisak wrote:
Zopists,
Does anyone know a test to see is an item is a list? <dtml-if "REQUEST.form.keys()[a] is list">
All my best,
-- Jason Spisak 444@hiretechs.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- Andrew Edmondson 01684 897433