The valueOf() method returns the of the generic type variable of the specified object.
minimum.class.ts
public valueOf(): Value {
return super.valueOf() as Value;
}
Return type
Returns
Example usage
// Example usage.
import { Minimum } from '@angular-package/range';
// Define constant `id`.
const id = 390;
// Returns 390 of type 390.
new Minimum(id).valueOf();
The return value is the of generic type variable .