types.isCryptoKey - Node documentation
function types.isCryptoKey

Usage in Deno

import { types } from "node:util";
const { isCryptoKey } = types;
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