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