is_same_type: Check equality of type

View source: R/is_comparisons.R

is_same_typeR Documentation

Check equality of type

Description

Is type of x the same as y (according to typof)

Usage

is_same_type(x, y)

Arguments

x

first object to compare

y

second object to compare

Value

TRUE if x and y are of the same type, otherwise FALSE


assertions documentation built on Feb. 13, 2026, 5:06 p.m.