all_unique {CellBench} | R Documentation

## Check if all values in a vector are unique

### Description

Check if all values in a vector are unique

### Usage

    all_unique(x)

### Arguments

`x` | the vector to check

### Value

TRUE if all values in the vector are unique

### Examples

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

[Package CellBench version 1.0.1 Index]