@Immutable public final class UndefinedData extends PrimitiveData
Important: This class may only be used in implementing plugins (e.g. functions, directives).
| Modifier and Type | Field and Description |
|---|---|
static UndefinedData |
INSTANCE
Static singleton instance of UndefinedData.
|
| Constructor and Description |
|---|
UndefinedData()
Deprecated.
Use
INSTANCE. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Compares this value against another for equality in the sense of the '==' operator of Soy.
|
int |
hashCode() |
boolean |
toBoolean()
Deprecated.
|
String |
toString()
This was a required method in the old SoyData interface.
|
rendercoerceToBoolean, coerceToString, createFromExistingDatabooleanValue, floatValue, integerValue, longValue, numberValue, renderAndResolve, resolve, status, stringValuepublic static final UndefinedData INSTANCE
@Deprecated public UndefinedData()
INSTANCE.public String toString()
SoyData@Deprecated public boolean toBoolean()
Undefined is falsy.
public boolean equals(Object other)
SoyValueequals in interface SoyValueequals in class SoyAbstractValueother - The other value to compare against.