check_bool {purgeR}R 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.


[Package purgeR version 1.8.2 Index]