is_same_type {assertions}R 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


[Package assertions version 0.1.0 Index]