is_rray() tests if x is an rray object.

is_rray(x)

Arguments

x

An object.

Value

A single logical.

Examples

is_rray(rray(1:5))
#> [1] TRUE
is_rray(1:5)
#> [1] FALSE