23 lines
474 B
Markdown
23 lines
474 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [isNil](./js-utils.isnil.md)
|
||
|
|
||
|
## isNil() function
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare function isNil<T>(val: Optional<T>): val is Nil;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| val | <code>Optional<T></code> | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`val is Nil`
|
||
|
|