all_elements_same_cpp_wrap: Tests if a vector has all elements the same

View source: R/shared.R

all_elements_same_cpp_wrapR Documentation

Tests if a vector has all elements the same

Description

Tests if a vector has all elements the same

Usage

all_elements_same_cpp_wrap(w)

Arguments

w

The vector to be queried

Value

A boolean if it has all same elements

Author(s)

Adam Kapelner

Examples

## Not run: 
all_elements_same_cpp_wrap(c(1, 1, 1))
all_elements_same_cpp_wrap(c(1, 2, 1))

## End(Not run)

GreedyExperimentalDesign documentation built on Jan. 9, 2026, 5:07 p.m.