UNPKG

uiv

Version:

Bootstrap 3 components implemented by Vue.

24 lines (18 loc) 463 B
export function isExist(obj) { return typeof obj !== 'undefined' && obj !== null; } export function isFunction(obj) { return typeof obj === 'function'; } export function isNumber(obj) { return typeof obj === 'number'; } export function isString(obj) { return typeof obj === 'string'; } export function isBoolean(obj) { return typeof obj === 'boolean'; } export function hasOwnProperty(o, k) { return Object.prototype.hasOwnProperty.call(o, k); }