⚠ valueOf()
Returns a read-only object consisting of the primitive values of `Minimum` and `Maximum` instances
Range.prototype.valueOf()
Range.prototype.valueOf()
Deprecated: This feature is no longer recommended. Avoid using it, and update existing code if possible. Be aware that this feature may cease to work at any time.
The valueOf()
method returns a read-only object consisting of the primitive values of Minimum
and Maximum
instances.
range.class.ts
Return type
The return type is the Readonly
object consisting of property min
of a generic type variable Min
and a max
of generic type variable Max
.
Returns
The return value is a frozen object
consisting of the primitive values of Minimum
and Maximum
instances.
Example usage
Last updated