Skip to contents

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