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

29 lines
581 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; [isNil](./js-utils.isnil.md)
## isNil() function
> Warning: This API is now obsolete.
>
>
Check if a value is nil.
<b>Signature:</b>
```typescript
export declare function isNil<T>(val: Maybe<T>): val is Nil;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<!-- -->&lt;T&gt; | |
<b>Returns:</b>
val is [Nil](./js-utils.nil.md)