- All Known Implementing Classes:
NativeSymbol,SymbolKey
public interface Symbol
A Symbol is a JavaScript object that obeys the special properties of the Symbol prototype. This
interface lets us possibly support multiple implementations of Symbol.
- Since:
- 1.7.8
-
Method Details
-
getName
String getName()Returns the symbol's name. Returns empty string for anonymous symbol (i.e. something created withSymbol()). -
getKind
Symbol.Kind getKind()Returns the symbol's kind.
-