MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / nextBoolean

Method nextBoolean

java/src/org/openqa/selenium/json/JsonInput.java:180–183  ·  view source on GitHub ↗

Read the next element of the JSON input stream as a boolean value. @return true or false @throws JsonException if the next element isn't the expected boolean @throws UncheckedIOException if an I/O exception is encountered

()

Source from the content-addressed store, hash-verified

178 * @throws UncheckedIOException if an I/O exception is encountered
179 */
180 public boolean nextBoolean() {
181 expect(JsonType.BOOLEAN);
182 return read(input.peek() == 't' ? "true" : "false", Boolean::valueOf);
183 }
184
185 /**
186 * Read the next element of the JSON input stream as an object property name.

Callers 4

skipValueMethod · 0.95
applyMethod · 0.80
applyMethod · 0.80

Calls 3

expectMethod · 0.95
readMethod · 0.95
peekMethod · 0.45

Tested by 1