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