Skip to content

eldargab/parse-fn-args

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parse-fn-args

Parses function arguments.

Usage

var parse = require('parse-fn-args')

function fn (a, b, c) {}

var args = parse(fn) // -> ['a', 'b', 'c']

parse((a, b) => a + b) // -> ['a', 'b']

parse(a => a) // -> ['a']

About

Parse function arguments

Resources

Stars

Watchers

Forks

Packages

No packages published