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

25 lines
502 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
Check if a value is nil.
2020-03-29 13:43:52 +00:00
<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`