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