Function assertWeakRefExists

  • Check a field that is supposed to contain an active reference within a WeakRef object. If the field is unassigned, null, or the reference was discarded, throw a TypeError.

    Parameters

    • ref: undefined | null | WeakRef<any>
    • message: string

    Returns void

Generated using TypeDoc v0.25.12