Thanks to visit codestin.com
Credit goes to storefront.developers.shoper.pl

Skip to content

greaterThan

Validator checks if given value is grater than given 'min' option.

Parameters

min

int Option used to compare if given value is greater than this min option.

Example

source
{
    "type" : "greaterThan",
    "options": {
        "min" : 10
    }
}