Skip to main content
isNumberObject - node__util--types.d.ts - Node documentation
function isNumberObject

Usage in Deno

```typescript import { isNumberObject } from "node:node__util--types.d.ts"; ```
isNumberObject(object: unknown): object is Number
Returns `true` if the value is a number object, e.g. created by `new Number()`. ```js util.types.isNumberObject(0); // Returns false util.types.isNumberObject(new Number(0)); // Returns true ```

Parameters

object: unknown

Return Type

object is Number