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 (7 loc) 200 B
'use strict'; module.exports = function () { var of = Array.of, result; if (typeof of !== 'function') return false; result = of('foo', 'bar'); return Boolean(result && (result[1] === 'bar')); };