shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
getArgsNames
Type:Function
Status:beta
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.function
Get the arguments names of the passed function. Return an array of the arguments names
Params
- func*-Function
The function reference of which get the arguments names
Return
- -Array
An array of arguments names
Example
import { getArgsNames } from '@blackbyte/sugar/function';
function hello(world, coco, plop) { }
getArgsNames(hello); // => ['world', 'coco', 'plop']Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space