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