%of% {operators}R Documentation

Is an object of a given class

Description

Operator to check if an object is of a given class

Usage

x %of% y

Arguments

x

R object

y

Character string, the class to check against.

Value

Logical value indicating the result

Author(s)

Romain Francois <francoisromain@free.fr>

See Also

inherits

Examples

iris %of% "data.frame"

[Package operators version 0.1-8 Index]