@serenity-is/corelib / isArray
Variable: isArray()
constisArray: (arg) =>arg is any[]=Array.isArray
Defined in: src/compat/arrays-compat.ts:166
Tests whether a value is an array.
Parameters
arg
any
Returns
arg is any[]
Remarks
Thin re-export of Array.isArray for legacy isArray call sites.
Deprecated
Use Array.isArray directly.
Example
isArray([1, 2, 3]); // true
isArray({}); // false