src/js/misc.js
function isBoolean(o) {
    return o !== undefined && o !== null &&
          (typeof o === "boolean" || o.constructor === Boolean);
}
function isBoolean(o) {
    return o !== undefined && o !== null &&
          (typeof o === "boolean" || o.constructor === Boolean);
}
function isBoolean ( o ) { return o !== undefined && o !== null && ( typeof o === "boolean" || o . constructor === Boolean ) ; }
Check if the given value is boolean
@param {Object} v a value.
@return {Boolean} true if the given value is boolean
@method isBoolean
@for zebkit
Check if the given value is boolean