Replies: 2 comments
-
Hmm, wonder how feasible it is to just throw this in the code for that API and shove it in a PR haha. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Added for 0.5.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
api.isArray
returns true for bothDataArray
andArray
.I tried playing with
api.isArray(arg) && ! Array.isArg()
, but it didn't work, as DataView overwritesArray.isArray
to return true for DataArrays, duh!my current solution is
api.isArray(arg) && 'function' == typeof arg.array
, but it's ugly. can we get pureisDataArray
on the api please?Beta Was this translation helpful? Give feedback.
All reactions