Is the object a 'mirai'.

is_mirai(x)

Arguments

x

an object.

Value

Logical TRUE if 'x' is of class 'mirai', FALSE otherwise.

Examples

if (interactive()) {
# Only run examples in interactive R sessions

m <- mirai(as.matrix(df), df = data.frame())
is_mirai(m)
is_mirai(df)

}