16 lines
No EOL
343 B
JavaScript
Executable file
16 lines
No EOL
343 B
JavaScript
Executable file
// https://github.com/ljharb/proposal-is-error
|
|
var $export = require('./_export')
|
|
, cof = require('./_cof');
|
|
|
|
$export($export.S, 'Error', {
|
|
isError: function isError(it){
|
|
return cof(it) === 'Error';
|
|
}
|
|
});
|
|
|
|
|
|
//////////////////
|
|
// WEBPACK FOOTER
|
|
// ./~/core-js/modules/es7.error.is-error.js
|
|
// module id = 1957
|
|
// module chunks = 4
|