time-to-botec/squiggle/node_modules/@stdlib/utils/constructor-name/docs/repl.txt

27 lines
393 B
Plaintext
Raw Normal View History

{{alias}}( val )
Determines the name of a value's constructor.
Parameters
----------
val: any
Input value.
Returns
-------
out: string
Name of a value's constructor.
Examples
--------
> var v = {{alias}}( 'a' )
'String'
> v = {{alias}}( {} )
'Object'
> v = {{alias}}( true )
'Boolean'
See Also
--------