Check whether this primitive contains a boolean value. @return true if this primitive contains a boolean value, false otherwise.
()
| 106 | * @return true if this primitive contains a boolean value, false otherwise. |
| 107 | */ |
| 108 | public boolean isBoolean() { |
| 109 | return value instanceof Boolean; |
| 110 | } |
| 111 | |
| 112 | /** |
| 113 | * convenience method to get this element as a {@link Boolean}. |
no outgoing calls