UNPKG

vue-hooks-plus

Version:
15 lines (14 loc) 441 B
const isObject = (value) => value !== null && typeof value === "object"; const isFunction = (value) => typeof value === "function"; const isString = (value) => typeof value === "string"; const isBoolean = (value) => typeof value === "boolean"; const isNumber = (value) => typeof value === "number"; const isUndef = (value) => typeof value === "undefined"; export { isBoolean, isFunction, isNumber, isObject, isString, isUndef };