how about using "x instanceof String" and "x instanceof Number"?  
Usually works for me...

Attila.

On 2007.11.23., at 21:46, Benson Margulies wrote:

> I'm sure I'm missing something.
>
> I'm trying to iterate over the properties of a Scriptable. getIds  
> returns
> Objects.  I can't see how to tell which are ints and which are  
> strings so
> that I can tell what to convert them to in order to retrieve their  
> values.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to