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