json.isnull
Checks for JSON null.
Syntax
Signature
json.isnull(Value: any) -> booleanAliases
json.isNull
Parameters
| Parameter | Type | Description |
|---|---|---|
Value | any | Value to compare with json.null. |
Returns
| Type | Description |
|---|---|
boolean | True only for the json.null sentinel. |
Example
Luau
assert(json.isnull(json.decode("null")))