function isNumber
Usage in Deno
```typescript import { isNumber } from "node:node__util.d.ts"; ```
isNumber(object: unknown): object is number
Deprecated
Since v4.0.0 - Use `typeof value === 'number'` instead.
Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`.
```js
import util from 'node:util';
util.isNumber(false);
// Returns: false
util.isNumber(Infinity);
// Returns: true
util.isNumber(0);
// Returns: true
util.isNumber(NaN);
// Returns: true
```
object is number