isDate

checks whether the passed value is a date object

boolean isDate(any check);
checkanythe value to check
booleantrue, if the passed value is a date object

Example

if (webix.isDate(value)){
    do_something();
}

Back to top