jest-get-type
Advanced tools
Comparing version 27.0.0-next.0 to 27.0.0-next.9
@@ -8,6 +8,4 @@ /** | ||
declare type ValueType = 'array' | 'bigint' | 'boolean' | 'function' | 'null' | 'number' | 'object' | 'regexp' | 'map' | 'set' | 'date' | 'string' | 'symbol' | 'undefined'; | ||
declare function getType(value: unknown): ValueType; | ||
declare namespace getType { | ||
var isPrimitive: (value: unknown) => boolean; | ||
} | ||
export = getType; | ||
export declare function getType(value: unknown): ValueType; | ||
export declare const isPrimitive: (value: unknown) => boolean; | ||
export {}; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
exports.getType = getType; | ||
exports.isPrimitive = void 0; | ||
/** | ||
@@ -49,4 +55,4 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
getType.isPrimitive = value => Object(value) !== value; | ||
const isPrimitive = value => Object(value) !== value; | ||
module.exports = getType; | ||
exports.isPrimitive = isPrimitive; |
{ | ||
"name": "jest-get-type", | ||
"description": "A utility function to get the type of a value", | ||
"version": "27.0.0-next.0", | ||
"version": "27.0.0-next.9", | ||
"repository": { | ||
@@ -23,3 +23,3 @@ "type": "git", | ||
}, | ||
"gitHead": "4f77c70602cab8419794f10fa39510f13baafef8" | ||
"gitHead": "d836f33f98845794b4eae8149548a81ddcfc6521" | ||
} |
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
3760
61