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

30 lines
605 B
Markdown
Raw Normal View History

2020-03-29 13:43:52 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [isNil](./js-utils.isnil.md)
## isNil() function
> Warning: This API is now obsolete.
>
2022-10-08 19:52:35 +00:00
> use `isNone` instead
>
Check if a value is nil.
2020-03-29 13:43:52 +00:00
<b>Signature:</b>
```typescript
export declare function isNil<T>(val: Maybe<T>): val is Nil;
2020-03-29 13:43:52 +00:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<!-- -->&lt;T&gt; | |
2020-03-29 13:43:52 +00:00
<b>Returns:</b>
val is [Nil](./js-utils.nil.md)
2020-03-29 13:43:52 +00:00