isChecked

checks whether a checkbox is checked

boolean isChecked(any value);

Parameters

valueanythe value to check

Returns

booleantrue, if the value is positive

Example

rules:{ // component name is used to apply the rule to it
    "accept": webix.rules.isChecked
}

Related samples

Details

You can call this function explicitely to perform the related check, as follows:

if(webix.rules.isChecked(value)){
   // your logic
}
See also
Back to top