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

25 lines
502 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
Check if a value is nil.
<b>Signature:</b>
```typescript
export declare function isNil<T>(val: Optional<T>): val is Nil;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | <code>Optional&lt;T&gt;</code> | |
<b>Returns:</b>
`val is Nil`