You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
417 B
15 lines
417 B
|
4 months ago
|
"use strict";
|
||
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
|
var tslib_1 = require("tslib");
|
||
|
|
/**
|
||
|
|
* 是否是参数类型
|
||
|
|
*
|
||
|
|
* @param {Object} value 测试的值
|
||
|
|
* @return {Boolean}
|
||
|
|
*/
|
||
|
|
var is_type_1 = tslib_1.__importDefault(require("./is-type"));
|
||
|
|
var isError = function (value) {
|
||
|
|
return (0, is_type_1.default)(value, 'Error');
|
||
|
|
};
|
||
|
|
exports.default = isError;
|
||
|
|
//# sourceMappingURL=is-error.js.map
|