30_is_functions: Is Functions

Description Usage Arguments Value Examples

Description

Functions to test if an object is of a particular class.

Note that ImageArray, GeomArray, NestMatrix and MatrixArray extend ObjectArray, and PartMatrix extends SectMatrix.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
is.ZERO (object)

is.RImage (object)
is.GeomObject (object)

is.Points (object)
is.Line (object)
is.Polygon (object)
is.Text (object)
is.Grid (object)

is.SImage (object)
is.MImage (object)

is.ImageArray (object)
is.ObjectArray (object)
is.GeomArray (object)
is.NestMatrix (object)
is.PartMatrix (object)
is.SectMatrix (object)
is.MatrixArray (object)

Arguments

object

An object to test.

Value

TRUE or FALSE.

Examples

1
is.ZERO (ZERO)

vectools documentation built on June 7, 2021, 9:08 a.m.