assert_ro_binding: Assertion for Active Bindings in R6 Classes

View source: R/assert_ro_binding.R

assert_ro_bindingR Documentation

Assertion for Active Bindings in R6 Classes

Description

This assertion is intended to be called in active bindings of an R6::R6Class which does not allow assignment. If rhs is not missing, an exception is raised.

Usage

assert_ro_binding(rhs)

Arguments

rhs

(any)
If not missing, an exception is raised.

Value

Nothing.


mlr3misc documentation built on Sept. 20, 2023, 5:06 p.m.