Returns the viewed boolean, or the default if absent or not a boolean.
Synopsis
Declared in <folly/json/dynamic.h>
bool
bool_or(bool val) const noexcept;
Return Value
The viewed boolean, or the default value.
Parameters
Name |
Description |
val |
The default value returned when no boolean is viewed. |
Created with MrDocs