JavaScript Array.isArray() Function

JavaScript Logo

Array.isArray() – Determines whether the passed value is an Array.

๐Ÿ‘‰ Syntax

bool = Array.isArray(value);

๐Ÿงช Example

Array.isArray([]); // true

Comments