Skip to contents

is_iv() tests if x is an iv object.

Usage

is_iv(x)

Arguments

x

[object]

An object.

Value

A single TRUE or FALSE.

Examples

is_iv(1)
#> [1] FALSE
is_iv(new_iv(1, 2))
#> [1] TRUE