get [Symbol.toStringTag]()
The get accessor, with the help of toStringTag, changes the default tag to 'Minimum' for an instance of Minimum
[Symbol.toStringTag]
[Symbol.toStringTag]
The get
accessor, with the help of toStringTag
, changes the default tag to 'Minimum'
for an instance of Minimum
.
public get [Symbol.toStringTag](): string {
return 'Minimum';
}
Return type
Example usage
// Example usage.
import { Minimum } from '@angular-package/range';
import { typeOf } from '@angular-package/type';
// Returns "minimum".
typeOf(new Minimum(5));
Last updated