check.Assert

0th

Percentile

Static method asserting that a generic condition is true

Static method asserting that a generic condition is true.

Keywords
methods, internal
Usage
Assert$check(condition, message=NULL, ...)
Arguments
condition
A condition that should return TRUE if ok, or something else if not.
message
The error message to be reported on failure. If NULL, a message is automatically created.
...
Not used.
Value

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

synopsis

check.Assert(static, condition, message=NULL, ...)

See Also

For more information see Assert.

Aliases
  • check.Assert
  • Assert.check
  • check.Assert
  • check,Assert-method
Documentation reproduced from package R.utils, version 0.7.9, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.