check_flag_or_scalar_integerish {seekr} | R Documentation |
Check Flag or Scalar Integerish
Description
This function validates whether the input is either a logical flag
(TRUE
/FALSE
) or a scalar integer-like value (e.g., 1
, 2L
, etc.).
Usage
check_flag_or_scalar_integerish(x)
Arguments
x |
The object to check. |
Value
TRUE
if the input is a valid flag or scalar integerish, otherwise an error message string.
[Package seekr version 0.1.3 Index]