All Projects → inspect-js → is-arrow-function

inspect-js / is-arrow-function

Licence: MIT License
Determine if a function is an ES6 arrow function or not.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to is-arrow-function

is-symbol
Is this an ES6 Symbol value?
Stars: ✭ 16 (-20%)
Mutual labels:  is
streamlit-vega-lite
A Streamlit component to render interactive Vega, Vega-Lite, and Altair visualizations and access the selected data from Python
Stars: ✭ 59 (+195%)
Mutual labels:  arrow
Feather.jl
Read and write feather files in pure Julia
Stars: ✭ 104 (+420%)
Mutual labels:  arrow
is-async-function
Is this a native `async function`?
Stars: ✭ 17 (-15%)
Mutual labels:  function
prototyped.js
Some common Typescript prototypes
Stars: ✭ 22 (+10%)
Mutual labels:  function
Swift101
That contains various information and examples about the basics of Swift Programming. 💻 📱 📺 ⌚️
Stars: ✭ 28 (+40%)
Mutual labels:  function
ncpu
multi-threaded library that node.js run function worker
Stars: ✭ 16 (-20%)
Mutual labels:  function
springer
A spring that generates realistic easing functions
Stars: ✭ 47 (+135%)
Mutual labels:  function
vinum
Vinum is a SQL processor for Python, designed for data analysis workflows and in-memory analytics.
Stars: ✭ 57 (+185%)
Mutual labels:  arrow
utils.js
👷 🔧 zero dependencies vanilla JavaScript utils.
Stars: ✭ 14 (-30%)
Mutual labels:  function
arrow-site
Mirror of Apache Arrow site
Stars: ✭ 16 (-20%)
Mutual labels:  arrow
arrow-fx
Λrrow Fx is part of Λrrow, a functional companion to Kotlin's Standard Library
Stars: ✭ 64 (+220%)
Mutual labels:  arrow
python-makefun
Dynamically create python functions with a proper signature.
Stars: ✭ 62 (+210%)
Mutual labels:  function
proposal-function-helpers
A withdrawn proposal for standardizing some useful, popular helper functions into JavaScript’s Function object.
Stars: ✭ 41 (+105%)
Mutual labels:  function
use
Easily add plugin support to your node.js application.
Stars: ✭ 25 (+25%)
Mutual labels:  function
remote-func
🦊 JavaScript as the query language for your API
Stars: ✭ 13 (-35%)
Mutual labels:  function
graphique
GraphQL service for arrow tables and parquet data sets.
Stars: ✭ 28 (+40%)
Mutual labels:  arrow
purescript-ffi-utils
A utility library for the purescript foreign function interface
Stars: ✭ 22 (+10%)
Mutual labels:  function
obj-filter
JavaScript Object Filter. Deep filtering key/content recursively. Support wildcard, nested, and filter function in template.
Stars: ✭ 13 (-35%)
Mutual labels:  function
advpl-MsgTimer
Função AdvPL de mensagens (Alert, Info, Stop, Success, YesNo e NoYes) com Timer para fechamento automático
Stars: ✭ 17 (-15%)
Mutual labels:  function

is-arrow-function Version Badge

dependency status dev dependency status

npm badge

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));
assert(isArrowFunction(() => 42));
assert(isArrowFunction(x => x * x));
assert(isArrowFunction(x => () => x * x));

Tests

Simply clone the repo, npm install, and run npm test

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].