1
0
Fork 0
js-utils/docs/api/js-utils.isnone.md

25 lines
578 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [isNone](./js-utils.isnone.md)
## isNone() function
Typeguard to check if a `Maybe` is `None` (null or undefined).
<b>Signature:</b>
```typescript
export declare function isNone<T>(val: Maybe<T>): val is None;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<!-- -->&lt;T&gt; | |
<b>Returns:</b>
val is [None](./js-utils.none.md)