var assert=require("tap"),t=require("./lib/util");assert.equal(t.isArray([]),!0),assert.equal(t.isArray({}),!1),assert.equal(t.isBoolean(null),!1),assert.equal(t.isBoolean(!0),!0),assert.equal(t.isBoolean(!1),!0),assert.equal(t.isNull(null),!0),assert.equal(t.isNull(void 0),!1),assert.equal(t.isNull(!1),!1),assert.equal(t.isNull(),!1),assert.equal(t.isNullOrUndefined(null),!0),assert.equal(t.isNullOrUndefined(void 0),!0),assert.equal(t.isNullOrUndefined(!1),!1),assert.equal(t.isNullOrUndefined(),!0),assert.equal(t.isNumber(null),!1),assert.equal(t.isNumber("1"),!1),assert.equal(t.isNumber(1),!0),assert.equal(t.isString(null),!1),assert.equal(t.isString("1"),!0),assert.equal(t.isString(1),!1),assert.equal(t.isSymbol(null),!1),assert.equal(t.isSymbol("1"),!1),assert.equal(t.isSymbol(1),!1),assert.equal(t.isSymbol(Symbol()),!0),assert.equal(t.isUndefined(null),!1),assert.equal(t.isUndefined(void 0),!0),assert.equal(t.isUndefined(!1),!1),assert.equal(t.isUndefined(),!0),assert.equal(t.isRegExp(null),!1),assert.equal(t.isRegExp("1"),!1),assert.equal(t.isRegExp(new RegExp),!0),assert.equal(t.isObject({}),!0),assert.equal(t.isObject([]),!0),assert.equal(t.isObject(new RegExp),!0),assert.equal(t.isObject(new Date),!0),assert.equal(t.isDate(null),!1),assert.equal(t.isDate("1"),!1),assert.equal(t.isDate(new Date),!0),assert.equal(t.isError(null),!1),assert.equal(t.isError({err:!0}),!1),assert.equal(t.isError(new Error),!0),assert.equal(t.isFunction(null),!1),assert.equal(t.isFunction({}),!1),assert.equal(t.isFunction(function(){}),!0),assert.equal(t.isPrimitive(null),!0),assert.equal(t.isPrimitive(""),!0),assert.equal(t.isPrimitive(0),!0),assert.equal(t.isPrimitive(new Date),!1),assert.equal(t.isBuffer(null),!1),assert.equal(t.isBuffer({}),!1),assert.equal(t.isBuffer(new Buffer(0)),!0);