all_unique: Check if all values in a vector are unique

Description Usage Arguments Value Examples

View source: R/utils_check.R

Description

Check if all values in a vector are unique

Usage

1

Arguments

x

the vector to check

Value

TRUE if all values in the vector are unique

Examples

1
2
all_unique(c(1, 2, 3)) # TRUE
all_unique(c(1, 2, 2)) # FALSE

CellBench documentation built on Nov. 8, 2020, 5:11 p.m.