The accessor, with the help of , changes the default tag to 'Less' for an instance of .
less.class.ts
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));