Learn R Programming

xfun (version 0.41)

isFALSE: Test if an object is FALSE

Description

For R versions lower than 3.5.0, this function is a simple abbreviation of identical(x, FALSE). For higher R versions, this function calls base::isFALSE().

Usage

isFALSE(x)

Arguments

x

An R object.

Examples

Run this code
if (FALSE) { # getRversion() < "3.5.0"
library(xfun)
isFALSE(TRUE)  # false
isFALSE(FALSE)  # true
isFALSE(c(FALSE, FALSE))  # false
}

Run the code above in your browser using DataLab