not.data {quickcode}R Documentation

Not a data

Description

Opposite of is.data.frame(). Check if entry is not a data object

Usage

not.data(x)

Arguments

x

vector entry

Value

a boolean value to indicate if entry is a data table

Examples

test.dt <- data.frame(ID=1:200,Type="RPKG.net")
test.notenv <- list(t=1)

is.data.frame(test.dt) # TRUE
not.data(test.dt) # FALSE

not.data(test.notenv) # TRUE
if(not.data(test.dt)) message("yes") # NULL


[Package quickcode version 0.8 Index]