Interface RefSymbol<T>

Symbol with generic type. The generic defines the data storable inside the container.

interface RefSymbol<T> {
    [toStringTag]: string;
    description: undefined | string;
    [toPrimitive](hint: string): symbol;
    toString(): string;
    valueOf(): symbol;
}

Type Parameters

  • T

Hierarchy

  • Symbol
    • RefSymbol

Properties

[toStringTag]: string
description: undefined | string

Assigned to "RefSymbol" is created by Container.

Methods

  • Converts a Symbol object to a symbol.

    Parameters

    • hint: string

    Returns symbol

  • Returns a string representation of an object.

    Returns string

  • Returns the primitive value of the specified object.

    Returns symbol