is_mirai: Is mirai / mirai_map

is_miraiR Documentation

Is mirai / mirai_map

Description

Is the object a 'mirai' or 'mirai_map'.

Usage

is_mirai(x)

is_mirai_map(x)

Arguments

x

an object.

Value

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

Examples


daemons(1, dispatcher = FALSE)
df <- data.frame()
m <- mirai(as.matrix(df), df = df)
is_mirai(m)
is_mirai(df)

mp <- mirai_map(1:3, runif)
is_mirai_map(mp)
is_mirai_map(mp[])
daemons(0)


mirai documentation built on April 4, 2025, 12:27 a.m.