checkListEqual: Checks that all elements in a list are identical

View source: R/checkListEqual.R

checkListEqualR Documentation

Checks that all elements in a list are identical

Description

Checks that all elements in a list are identical

Usage

checkListEqual(x)

Arguments

x

A list

Value

TRUE if all elements in a list are identical, FALSE otherwise. If the function finds an element that is different it will print the elements that differ

Examples

checkListEqual(x = list(a = 1:5, b = 3:6))
checkListEqual(x = list(a = letters[7:9], b = c("g", "h", "i")))

AfricaBirdData/CWAC documentation built on Aug. 5, 2024, 12:40 a.m.