Package Exports
- is-arrow-function
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-arrow-function) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
npm module to determine if a function is an ES6 arrow function or not.
NOTE: Only works in Firefox at the moment.
Example
var isArrowFunction = require('is-arrow-function');
assert(!isArrowFunction(function () {}));
assert(!isArrowFunction(null));
assert(isArrowFunction((a, b) => a * b));Tests
Simply clone the repo, npm install, and run npm test




