You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Suppose I have a function in Javascript that returns:
a) [1,2,3]
or
b) {"0": 1, "1": 2, "2": 3}
in c# i can see this value as represented by an instance of a JSValue class
In both situations i see the JSValue as an associative array (like b)
I need a way to know if the object returned is a conventional array or an associative set.
Is there a way to achieve this?
The text was updated successfully, but these errors were encountered:
Hi,
Suppose I have a function in Javascript that returns:
a) [1,2,3]
or
b) {"0": 1, "1": 2, "2": 3}
in c# i can see this value as represented by an instance of a JSValue class
In both situations i see the JSValue as an associative array (like b)
I need a way to know if the object returned is a conventional array or an associative set.
Is there a way to achieve this?
The text was updated successfully, but these errors were encountered: