Skip to main content

Arguments

any
required
Value to inspect. Only the json.null value returns true; Lua nil and other values return false.

Returns

boolean
true when the value is the exact json.null sentinel, otherwise false.

Example

Check whether a value is the json.null sentinel instead of Lua nil.