is: Check whether an object is an 'Item-class'

is.ItemR Documentation

Check whether an object is an Item-class

Description

Check whether an object is an Item-class

Check whether an object is an Itempool-class object

Check whether an object is a Testlet-class object

Usage

is.Item(x)

is.Itempool(x)

is.Testlet(x)

Arguments

x

an object that is checked for being a member of 'Testlet' class

Author(s)

Emre Gonulates

Examples

i1 <- item(a = 1, b = 2)
is.Item(i1)
# Alternatively:
is(i1, "Item")

# Not an item:
is.Item("abc")


irt documentation built on Nov. 10, 2022, 5:50 p.m.