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

Usage in Deno

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

Returns true if value is a KeyObject, false otherwise.

Parameters

object: unknown

Return Type

object is KeyObject