Skip to main content
isKeyObject - util/types - Node documentation
function isKeyObject

Usage in Deno

import { isKeyObject } from "node:util/types";
isKeyObject(object: unknown): object is KeyObject

Returns true if value is a KeyObject, false otherwise.

Parameters

object: unknown

Return Type

object is KeyObject
Back to top