Learn R Programming

R.utils (version 2.3.0)

Assert$isScalar: Static method asserting thatan object is a single value

Description

Static method asserting thatan object is a single value.

Usage

## Static method (use this): ## Assert$isScalar(x, ...)
## Don't use the below: "isScalar"(static, x, ...)

Arguments

x
Object to be checked.
...
Not used.

Value

Returns (invisibly) TRUE, or throws an exception.

See Also

For more information see Assert.