static create()
Creates the `Number` instance with the given primitive value
Number.create()
Number.create()
The static create()
method creates the Number
instance with the given primitive value
.
number.class.ts
Generic type variables
A generic type variable indicates captured type of the supplied value
via the return type.
Parameters
value:
Value
value:
Value
The number of generic type variable Value
to set with a new instance.
Return type
The return type is the Number
primitive wrapper object that takes the generic type variable Value
.
Returns
The return value is the Number
instance with the primitive value of the given value
.
Example usage
Last updated