isArrayRaw

external fun isArrayRaw(value: Any?): Boolean(source)

Alias for Array.isArray().

Returns true if the given object is an Array. Otherwise, returns false.

const util = require('node:util');

util.isArray([]);
// Returns: true
util.isArray(new Array());
// Returns: true
util.isArray({});
// Returns: false

Since

v0.6.0