Skip to content

inArray

Validator checks if given value is in your passed list of values.

Parameters

options

array List of values.

Example

source
{
    "type" : "inArray",
    "options": {
        "options" : ["Option 1", "Option 2", "Option 3"]
    }
}