UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

9 lines (8 loc) 218 B
// 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'; } });