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 Dec. 11, 2021, 9:31 a.m.