@Immutable public final class NullData extends PrimitiveData
Important: This class may only be used in implementing plugins (e.g. functions, directives).
SoyValueProvider.ResolveStatus| Modifier and Type | Field and Description |
|---|---|
static NullData |
INSTANCE
Static singleton instance of NullData.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
This was a required method in the old SoyData interface.
|
int |
hashCode() |
boolean |
toBoolean()
Deprecated.
|
String |
toString()
This was a required method in the old SoyData interface.
|
rendercoerceToBoolean, coerceToString, createFromExistingData, equalsbooleanValue, equals, floatValue, integerValue, longValue, numberValue, render, resolve, status, stringValuepublic static final NullData INSTANCE
public String toString()
SoyData@Deprecated public boolean toBoolean()
Null is falsy.
public boolean equals(Object other)
SoyData