DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check if something is array javascript
function isArray(value) { return Object.prototype.toString.call(value) === "[object Array]"; }
Source by dev.to #
PREVIOUS
NEXT
Tagged:
#check
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit