dot-is_allNA: Tests if a vector is entirely comprised of NAs

.is_allNAR Documentation

Tests if a vector is entirely comprised of NAs

Description

This function tests if a passed object is entirely comprised of NA values.

Usage

.is_allNA(x)

Arguments

x

The object to test if is entirely comprised of NA values

Details

This function is exported in order to provide one of the default tests for the ⁠%|||%⁠ function and is not really intended for use outside of that context.

Value

A boolean (TRUE or FALSE)

Examples

{
  .is_allNA(c(NA,NA,"NA")) # Will return FALSE
}

infixit documentation built on June 8, 2025, 10:52 a.m.