> 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.

# isInteger

Checks if a value is an integer.

```typescript
isInteger(42) // true
isInteger(4.2) // false
```

## Usage

### `isInteger(value: unknown)`

Checks if a value is an integer.

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

isInteger(42) // true
isInteger(4.2) // false
```

#### Parameters


valueunknownrequired

the value to test.

#### Returns

whether `value` is an integer; a `true` result narrows it to `number`.

```typescript
value is number
```
