method RefsWeakMap.has
RefsWeakMap.has<T>(coder: Coder<T>): boolean

Checks if a reference value exists for the given coder.

Type Parameters

Parameters

coder: Coder<T>

The coder to check

Return Type

boolean

True if a value exists, false otherwise

Usage

import { type RefsWeakMap } from "ref/ref.ts";