Sign In

$jsonHas[]

Returns whether a key exists in a JSON object

v2.2.0+ Requires Brackets

Usage

$jsonHas[;]

Arguments

NameTypeRequiredDescription
variable
StringYesThe variable that holds json
key
StringYesThe key to check for

Output

Boolean

Was this page helpful?