function isCryptoKey
isCryptoKey(obj: object): obj is CryptoKey

Type guard for a CryptoKey object.

Parameters

obj: object

Return Type

obj is CryptoKey

Usage

import { isCryptoKey } from "lib/utils.ts";