all_identical: Check if any number of values are identical

View source: R/all_identical.R

all_identicalR Documentation

Check if any number of values are identical

Description

Returns TRUE if all, or any, arguments are equal to each other using the test base::identical

Usage

all_identical(...)

any_identical(...)

Arguments

...

Two or more values to compare

Value

Logical

Examples

all_identical(1, 1, 1)
all_identical(1, 1, "1")
all_identical(1, 1, 2)
all_identical(1, 1, NA)
any_identical(1, 1, 2)
any_identical(1, "1", 2)

overdodactyl/mRclwhip documentation built on June 30, 2023, 6:24 a.m.