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

Usage in Deno

import { isCryptoKey } from "node:util/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