Package com.io7m.cedarbridge.runtime.api
Interface CBBooleanType
- All Superinterfaces:
CBSerializableType,Formattable
public sealed interface CBBooleanType
extends Formattable, CBSerializableType
permits CBFalse, CBTrue
The boolean type.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CBBooleanTypefromBoolean(boolean b) A boolean from the given boolean value.Methods inherited from interface java.util.Formattable
formatTo
-
Method Details
-
asBoolean
boolean asBoolean()- Returns:
- This value as a Java boolean
-
fromBoolean
A boolean from the given boolean value.- Parameters:
b- The Java boolean- Returns:
- The boolean
-