Checks if the given value is an Array (opens in a new tab).
Syntax
import { isArr } from '@opentf/std';
isArr(val: unknown): boolean;
Examples
isArr([]) //=> true
isArr(new Array('a', 'b', 'c')) //=> true
isArr('abc') //=> false
Checks if the given value is an Array (opens in a new tab).
import { isArr } from '@opentf/std';
isArr(val: unknown): boolean;
isArr([]) //=> true
isArr(new Array('a', 'b', 'c')) //=> true
isArr('abc') //=> false