same_length: Check if two objects have the same length

View source: R/utils.R

same_lengthR Documentation

Check if two objects have the same length

Description

Compares lengths of two objects, handling special cases for lists and data frames.

Usage

same_length(x, y)

Arguments

x

First object to compare

y

Second object to compare

Value

Logical indicating if objects have same length


matriz documentation built on April 3, 2025, 7:22 p.m.