Skip to contents

vrule_operator_binary

vrule_operator_binary

Super class

vrule::vrule_abstract -> vrule_operator_binary

Public fields

operator

operator

expr

expr

Methods

Inherited methods


Method new()

Initializes a binary operator validation rule

Usage

vrule_operator_binary$new(operator, expr, ...)

Arguments

operator

operator

expr

expr

...

any other arg


Method validate()

Method to validate data

Usage

vrule_operator_binary$validate(value, ...)

Arguments

value

value

...

any other arg

Returns

a validation report, object of class vrule_report


Method clone()

The objects of this class are cloneable with this method.

Usage

vrule_operator_binary$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.