first_not: First argument that does not equal a given value

Description Usage Arguments Value Examples

View source: R/na.R

Description

First argument that does not equal a given value

Usage

1
first_not(not, ...)

Arguments

not

Value: we look for the first value not equal to this one

...

Values

Value

The first value that does not equal "not", or NA iff all equal "not"

Examples

1
2
# 5
first_not(1, 1,1,1,5)

tidytidbits documentation built on March 8, 2021, 5:07 p.m.