Interface BooleanPathObject
- All Superinterfaces:
PathObject
A
PathObject whose underlying value is expected to be a Boolean.
This is a terminal type. PathObject.instance() returns an Instance
wrapping the resolved primitive value per RTPO8f; navigation
via at(...) is not available here because it is only defined on
LiveMapPathObject. Only value() and the inherited read APIs are
useful here.
Spec: RTTS6c
-
Method Summary
Methods inherited from interface io.ably.lib.liveobjects.path.PathObject
asBinary, asBoolean, asJsonArray, asJsonObject, asLiveCounter, asLiveMap, asNumber, asString, compactJson, exists, getType, instance, path, subscribe, subscribe
-
Method Details
-
value
Returns the boolean at this path, ornullwhen the path does not resolve or resolves to a non-boolean value.Spec: RTPO7 / RTTS6c
- Returns:
- the resolved boolean, or
null
-