check_bool: Check if a variable is boolean or not

View source: R/check.R

check_boolR Documentation

Check if a variable is boolean or not

Description

Can be used to test arguments that need to be of logical (boolean) type

Usage

check_bool(variable)

Arguments

variable

Variable to test

Value

No return value. Will print an error message if checking fail.


purgeR documentation built on May 29, 2024, 7:24 a.m.