Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

isScalar.Assert

Static method asserting that an object is a single value


Description

Static method asserting that an object is a single value.

Usage

## Static method (use this):
## Assert$isScalar(x, ...)

## Don't use the below:
## S3 method for class 'Assert'
isScalar(static, x, ...)

Arguments

x

Object to be checked.

...

Not used.

Value

Returns (invisibly) TRUE, or throws an exception.

Author(s)

Henrik Bengtsson

See Also

For more information see Assert.


R.utils

Various Programming Utilities

v2.10.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.