Re: user types vs built-ins

new topic     » goto parent     » topic index » view thread      » older message » newer message

Looks like your type() function is not returning true, so it's going to fail the type check.

Try something like:

   return object(x) 

or the result of whatever you're testing x for.

"10" does not resolve to 'true,' so that's why it's failing (I suspect).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu