Learn R Programming

IFC (version 0.1.2)

validate_bool: Boolean Expression Validation

Description

Helper to check if a boolean vector is valid.

Usage

validate_bool(x = "", all_names = "")

Arguments

x

a string vector representing the boolean expression to be validated.

all_names

a character vector of scalars which are allowed to be part of the the boolean expression.

Value

x is returned if no exception is raised during validation process.