R/is_blank.R

Defines functions is_blank

# check if query is NULL or white space
is_blank <-
    function(query)
{
    if(is.null(query) || grepl("^\\s*$", query)) # white space
        return(TRUE)

    FALSE
}

Try the aRxiv package in your browser

Any scripts or data that you put into this service are public.

aRxiv documentation built on May 29, 2024, 6:05 a.m.