valueOf()

Returns the primitive value of the generic type variable `Value` of the specified `Number` object

Number.prototype.valueOf()

The valueOf() method returns the primitive value of the generic type variable Value of the specified Number object.

range.class.ts
String.prototype.valueOf()

Return type

Returns

The return value is the primitive value of generic type variable Value.

Example usage

Last updated

Was this helpful?