ne
Summary
Functional equivalent of a !== b. Use Object.is.
Tip
This is an operator function.
Examples
1 2 3 4 5
ne(null, undefined);
//=> true
ne(NaN, NaN);
//=> false
Parameters
| Name | Type | Description |
|---|---|---|
| a | ? |
|
| b | ? |
Return
boolean
Summary
Functional equivalent of a !== b. Use Object.is.
Tip
This is an operator function.
1 2 3 4 5
ne(null, undefined);
//=> true
ne(NaN, NaN);
//=> false
| Name | Type | Description |
|---|---|---|
| a | ? |
|
| b | ? |
boolean