-
Notifications
You must be signed in to change notification settings - Fork 0
name
Subhajit Sahu edited this page Jul 29, 2022
·
2 revisions
Get the name of a function.
function name(x)
// x: a function
const xfunction = require('extra-function');
const {delay, debounce} = require('extra-function');
xfunction.name(delay);
// → 'delay'
xfunction.name(debounce);
// → 'debounce'