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

25 lines
578 B
Markdown
Raw Normal View History

<!-- 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
2021-08-08 20:11:23 +00:00
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)