# get \[Symbol.toStringTag]\()

## `[Symbol.toStringTag]`

The [`get`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) accessor, with the help of [`toStringTag`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag), changes the default tag to `'Less'` for an instance of [`Less`](https://range.angular-package.dev/less).

{% code title="less.class.ts" %}

```typescript
public get [Symbol.toStringTag](): string {
  return 'Less';
}
```

{% endcode %}

### Return type

#### [<mark style="color:green;">`string`</mark>](https://www.typescriptlang.org/docs/handbook/basic-types.html#string)

## Example usage

```typescript
// Example usage.
import { Less } from '@angular-package/range';
import { typeOf } from '@angular-package/type';

// Returns "less".
typeOf(new Less(5));
```
