@tempots/std

isJSONObject() function

Checks if the value is a JSON object.

Signature:

isJSONObject: (value: JSONValue) => value is JSONObject

Parameters

Parameter

Type

Description

value

JSONValue

The value to check.

Returns: value is JSONObject

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