not.logical: Not logical

View source: R/not.logical.R

not.logicalR Documentation

Not logical

Description

Opposite of is.logical(). Check if entry is a logical object

Usage

not.logical(x)

Arguments

x

vector entry

Value

a boolean value to indicate if entry is logical

Examples

test.env <- TRUE
test.notenv <- 0
not.logical(test.env) # FALSE
not.logical(test.notenv) # TRUE
if(not.logical(test.notenv)) message("yes") # yes


quickcode documentation built on April 11, 2025, 5:49 p.m.