@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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
coerceToBoolean()
Coerces this value into a boolean.
|
String |
coerceToString()
Coerces this value into a string.
|
boolean |
equals(Object other)
Compares this value against another for equality in the sense of the '==' operator of Soy.
|
int |
hashCode() |
String |
toString() |
rendercreateFromExistingDatabooleanValue, floatValue, integerValue, longValue, numberValue, render, renderAndResolve, resolve, status, stringValuepublic static final UndefinedData INSTANCE
public boolean coerceToBoolean()
Undefined is falsy.
public String coerceToString()
SoyValuepublic boolean equals(Object other)
SoyValueequals in interface SoyValueequals in class SoyAbstractValueother - The other value to compare against.