Symbol

@native @JSType trait Symbol extends StObject
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val description: UndefOr[String]

Expose the Description internal slot of a symbol directly.

Expose the Description internal slot of a symbol directly.

@JSName
var toPrimitive: Function1[String, Symbol]

Converts a Symbol object to a symbol.

Converts a Symbol object to a symbol.

@JSName
val toStringTag: String