Function isWeakSet

  • It will determine whether the provided value is a WeakSet object or not.

    Parameters

    • value: unknown

    Returns value is WeakSet<RecordT>

    Since

    1.0.0

    Example

    isWeakSet(new WeakSet);
    // => true

    Example

    isWeakSet(new Set);
    // => false