[Zope] Retrieving type info from Request.Form items

H.de.Wit@SFK.NL H.de.Wit@SFK.NL
Mon, 15 Oct 2001 14:18:07 +0200


>across it. Anybody else remember something? To test whether something was
a
>string you had to type something like if TypeOf(aThing)==TypeOf('dummy'):

from the book:
if same_type(foo,[]):
  return "foo is a list"

Met vriendelijke groeten,

Hans de Wit
Stichting Farmaceutische Kengetallen
Postbus 30460
2500 GL  DEN HAAG
Tel. 070-3737448
Fax 070-3737445