R.utils (version 1.7.4)

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

Description

Static method asserting thatan object is a single value.

Usage

Assert$isScalar(x, ...)

Arguments

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

Value

  • Returns (invisibly) TRUE, or throws an exception.

synopsis

isScalar.Assert(static, x, ...)

See Also

For more information see Assert.