deno.com

function isKeyObject

#isKeyObject(object: unknown): object is KeyObject

Returns true if value is a KeyObject, false otherwise.

Parameters #

#object: unknown

Return Type #

object is KeyObject