@thisisagile/easy
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -11,1 +11,2 @@ import { Constructor } from './Constructor'; | ||
export declare const isIn: (o: unknown, values: unknown[]) => boolean; | ||
export declare const isPrimitive: (o?: unknown) => boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isIn = exports.isInstance = exports.isArray = exports.isFunction = exports.isObject = exports.isString = exports.isNotEmpty = exports.isEmpty = exports.isDefined = void 0; | ||
exports.isPrimitive = exports.isIn = exports.isInstance = exports.isArray = exports.isFunction = exports.isObject = exports.isString = exports.isNotEmpty = exports.isEmpty = exports.isDefined = void 0; | ||
exports.isDefined = (o) => o !== undefined && o !== null; | ||
@@ -13,2 +13,3 @@ exports.isEmpty = (o) => o === '' || o === null || o === undefined; | ||
exports.isIn = (o, values) => exports.isArray(values) && values.some(v => v === o); | ||
exports.isPrimitive = (o) => (o !== null) && !exports.isObject(o) && !exports.isFunction(o) && !exports.isArray(o); | ||
//# sourceMappingURL=Is.js.map |
{ | ||
"name": "@thisisagile/easy", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Straightforward library for building domain-driven microservice architectures", | ||
@@ -5,0 +5,0 @@ "author": "Sander Hoogendoorn", |
@@ -20,1 +20,3 @@ import { Constructor } from './Constructor'; | ||
export const isIn = (o: unknown, values: unknown[]): boolean => isArray(values) && values.some(v => v === o); | ||
export const isPrimitive = (o?: unknown): boolean => (o !== null) && !isObject(o) && !isFunction(o) && !isArray(o); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85073
1220