UNPKG

@luminati-io/knex

Version:

A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3

33 lines (26 loc) 526 B
function isString(value) { return typeof value === 'string'; } function isNumber(value) { return typeof value === 'number'; } function isBoolean(value) { return typeof value === 'boolean'; } function isUndefined(value) { return typeof value === 'undefined'; } function isObject(value) { return typeof value === 'object' && value !== null; } function isFunction(value) { return typeof value === 'function'; } module.exports = { isString, isNumber, isBoolean, isUndefined, isObject, isFunction, };