@JsType(isNative=true,
namespace="<global>",
name="symbol")
public interface Symbol
| Modifier and Type | Method and Description |
|---|---|
static Symbol |
_isConcatSpreadable()
The Symbol.isConcatSpreadable well-known symbol is used to configure if an object should be flattened to its array elements when using the Array.prototype.concat() method.
|
static Symbol |
asyncIterator()
The Symbol.asyncIterator well-known symbol specifies the default AsyncIterator for an object.
|
static Symbol |
for_(java.lang.String key) |
static Symbol |
hasInstance()
The Symbol.hasInstance well-known symbol is used to determine if a constructor object recognizes an object as its instance.
|
static Symbol |
iterator()
The well-known Symbol.iterator symbol specifies the default iterator for an object.
|
static java.lang.String |
keyFor(Symbol symbol)
The Symbol.keyFor(sym) method retrieves a shared symbol key from the global symbol registry for the given symbol.
|
static Symbol |
match()
The Symbol.match well-known symbol specifies the matching of a regular expression against a string.
|
static Symbol |
matchAll()
The Symbol.matchAll well-known symbol returns an iterator, that yields matches of the regular expression against a string.
|
static Symbol |
replace()
The Symbol.replace well-known symbol specifies the method that replaces matched substrings of a string.
|
static Symbol |
search()
The Symbol.search well-known symbol specifies the method that returns the index within a string that matches the regular expression.
|
static Symbol |
species()
The well-known symbol Symbol.species specifies a function-valued property that the constructor function uses to create derived objects.
|
static Symbol |
split()
The Symbol.split well-known symbol specifies the method that splits a string at the indices that match a regular expression.
|
static Symbol |
toPrimitive()
The Symbol.toPrimitive is a symbol that specifies a function valued property that is called to convert an object to a corresponding primitive value.
|
java.lang.String |
toString_()
The toString() method returns a string representing the specified Symbol object.
|
static Symbol |
toStringTag()
The Symbol.toStringTag well-known symbol is a string valued property that is used in the creation of the default string description of an object.
|
static Symbol |
unscopables()
The Symbol.unscopables well-known symbol is used to specify an object value of whose own and inherited property names are excluded from the with environment bindings of the associated object.
|
@JsOverlay @Nonnull static Symbol asyncIterator()
@JsOverlay @Nonnull static Symbol hasInstance()
@JsOverlay @Nonnull static Symbol _isConcatSpreadable()
@JsOverlay @Nonnull static Symbol iterator()
@JsOverlay @Nonnull static Symbol match()
@JsOverlay @Nonnull static Symbol matchAll()
@JsOverlay @Nonnull static Symbol replace()
@JsOverlay @Nonnull static Symbol search()
@JsOverlay @Nonnull static Symbol species()
@JsOverlay @Nonnull static Symbol split()
@JsOverlay @Nonnull static Symbol toPrimitive()
@JsOverlay @Nonnull static Symbol toStringTag()
@JsOverlay @Nonnull static Symbol unscopables()
@Nonnull @JsOverlay static Symbol for_(@Nonnull java.lang.String key)
@JsOverlay
@Nonnull
static java.lang.String keyFor(@Nonnull
Symbol symbol)
@JsMethod(name="toString") @Nonnull java.lang.String toString_()