@tempots/std

isJSONArray() function

Checks if the value is a JSON array.

Signature:

isJSONArray: (value: JSONValue) => value is JSONArray

Parameters

Parameter

Type

Description

value

JSONValue

The value to check.

Returns: value is JSONArray

true if the value is a JSON array; otherwise, false.