Learn R Programming

assertions (version 0.1.0)

is_same_type: Check equality of type

Description

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

Usage

is_same_type(x, y)

Value

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

Arguments

x

first object to compare

y

second object to compare