6 lines
225 B
R
6 lines
225 B
R
is.null(NULL) # TRUE
|
|
is.null(123) # FALSE
|
|
is.null(NA) # FALSE
|
|
123==NULL # Empty logical value, with a warning
|
|
foo <- function(){} # function that does nothing
|
|
foo() # returns NULL
|