UNPKG
mocoolka-function
Version:
latest (0.1.7)
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Function lib for function.
mocoolka-function
/
lib
/
getName.d.ts
9 lines
(8 loc)
•
219 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Gets the name of a function, in a cross-browser way. * *
@param
{
Function
} fn function (usually a constructor) *
@return
{
string
} */
declare
const
name
:
(
fn
:
Function
) =>
string
;
export
default
name;