is_false: Provide 'isFALSE' for 'R' < 3.5.0

View source: R/boolean.R

is_falseR Documentation

Provide isFALSE for 'R' < 3.5.0

Description

I still use R 3.3.3 for testing, isFALSE() was introduced in R 3.5.0.

Usage

is_false(x)

Arguments

x

The object to be tested.

Value

TRUE if the object is set to FALSE, FALSE otherwise.

See Also

Other logical helpers: get_run_r_tests(), is_batch(), is_cran(), is_force(), is_installed(), is_not_false(), is_null_or_true(), is_of_length_zero(), is_r_cmd_check(), is_r_package_installed(), is_running_on_fvafrcu_machines(), is_running_on_gitlab_com(), is_success(), is_version_sufficient(), is_windows()

Examples

is_false("not false")
is_false(FALSE)

fritools documentation built on Nov. 19, 2023, 1:06 a.m.