all_identical: Check if all list elements are identical

Description Usage Arguments Value Examples

View source: R/all_identical.R

Description

Check if all list elements are identical

Usage

1

Arguments

lst

A list

Value

Logical, indicating if all elemenets are identical

Examples

1
all_identical(list(a=1, b=1, c=1, d=2))

ajabadi/Alstuff documentation built on Jan. 19, 2022, 1:43 p.m.