Checks if the given value is WeakSet (opens in a new tab).
Syntax
import { isWkSet } from '@opentf/std';
isWkSet(value: unknown): boolean;
Examples
isWkSet(new Set()) //=> false
isWkSet(new WeakSet()) //=> true
Checks if the given value is WeakSet (opens in a new tab).
import { isWkSet } from '@opentf/std';
isWkSet(value: unknown): boolean;
isWkSet(new Set()) //=> false
isWkSet(new WeakSet()) //=> true