> For AI agents: the complete documentation index is available at https://massaman.dev/llms.txt, the full documentation bundle is available at https://massaman.dev/llms-full.txt.

# isNaN

Checks if a value is NaN.

```typescript
isNaN(NaN) // true
isNaN(42) // false
```

## Usage

### `isNaN(value: unknown)`

Checks if a value is NaN.

```typescript
import { isNaN } from 'massaman'
// or:  import { isNaN } from 'massaman/predicate'

isNaN(NaN) // true
isNaN(42) // false
```

#### Parameters


valueunknownrequired

the value to test.

#### Returns

whether `value` is the numeric `NaN` value; a `true` result narrows it to `number`.

```typescript
value is number
```
