2021-07-10 21:54:41 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [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).
|
|
|
|
|
2021-07-10 21:54:41 +00:00
|
|
|
<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)<!-- --><T> | |
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
val is [None](./js-utils.none.md)
|
|
|
|
|