[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [doesExist](./js-utils.doesexist.md)
## doesExist() function
Check if a variable is some `T`.
Signature:
```typescript
export declare function doesExist(val: Maybe): val is T;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<T> | |
Returns:
val is T