isCryptoKey - Node documentation
function isCryptoKey

Usage

import { isCryptoKey } from "node:util/types";

Returns true if value is a CryptoKey, false otherwise.

Parameters

object: unknown

Return Type

object is webcrypto.CryptoKey