Skip to contents

Tests whether the given object is of the specified data type

Usage

is_type(object, type)

Arguments

object

object to test for the specified data type

type

data type to which object should belong

Value

raises an error if object is not of data type type