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

Usage in Deno

import { types } from "node:util";
isCryptoKey(object: unknown): object is webcrypto.CryptoKey

Returns true if value is a CryptoKey, false otherwise.

Parameters

object: unknown

Return Type

object is webcrypto.CryptoKey