@kosko/common-utils
Advanced tools
Comparing version 0.1.0 to 0.1.1
/** | ||
* Returns true when type of value is `object` and is not `null`, `undefined` or | ||
* Common utilities used in Kosko. | ||
* | ||
* @packageDocumentation | ||
*/ | ||
/** | ||
* Returns true when type of `value` is `object` and is not `null`, `undefined` or | ||
* an array. | ||
@@ -9,3 +14,3 @@ * | ||
/** | ||
* Transforms input into an array, or leave it as-is if input is already an array. | ||
* Transforms `input` into an array, or leave it as-is if `input` is already an array. | ||
* | ||
@@ -16,3 +21,3 @@ * @public | ||
/** | ||
* Returns `code` in an error-like object. | ||
* Returns `code` of an error-like object. | ||
* | ||
@@ -19,0 +24,0 @@ * @public |
"use strict"; | ||
/** | ||
* Common utilities used in Kosko. | ||
* | ||
* @packageDocumentation | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getErrorCode = exports.toArray = exports.isRecord = void 0; | ||
/** | ||
* Returns true when type of value is `object` and is not `null`, `undefined` or | ||
* Returns true when type of `value` is `object` and is not `null`, `undefined` or | ||
* an array. | ||
@@ -15,3 +20,3 @@ * | ||
/** | ||
* Transforms input into an array, or leave it as-is if input is already an array. | ||
* Transforms `input` into an array, or leave it as-is if `input` is already an array. | ||
* | ||
@@ -25,3 +30,3 @@ * @public | ||
/** | ||
* Returns `code` in an error-like object. | ||
* Returns `code` of an error-like object. | ||
* | ||
@@ -28,0 +33,0 @@ * @public |
{ | ||
"name": "@kosko/common-utils", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Common utilities used in Kosko.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://kosko.dev", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
5310
94