Checks if the first parameter (string or number) is a part of the second parameter (string[] or number[]).
string
number
string[]
number[]
{ "id": "MyConfigField", "type": "text",},{ // ... "visible": ["in", "foo", ["value", "MyConfigField"]],}, Copy
{ "id": "MyConfigField", "type": "text",},{ // ... "visible": ["in", "foo", ["value", "MyConfigField"]],},
Checks if the first parameter (
string
ornumber
) is a part of the second parameter (string[]
ornumber[]
).