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