UNPKG

is-callback-function

Version:

Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized, these are default.

5 files
418 B
1.09 kB
6.8 kB
1.81 kB
1.44 kB