Checks if provided string represents a boolean (used by Entrata API).
Arguments
- str
Character string to check. Typically, with the Entrata API, "boolean"
values are represented as quoted integers ("0"
or "1"
) representing
FALSE
and TRUE
, respectively.
Value
TRUE
if the string is a boolean string, FALSE
otherwise.
Examples
is_boolean_string("0")
#> [1] TRUE