source: node_modules/es-toolkit/dist/compat/predicate/isError.mjs@ ba17441

Last change on this file since ba17441 was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Added visualizations

  • Property mode set to 100644
File size: 147 bytes
Line 
1import { getTag } from '../_internal/getTag.mjs';
2
3function isError(value) {
4 return getTag(value) === '[object Error]';
5}
6
7export { isError };
Note: See TracBrowser for help on using the repository browser.