string_gently_to_boolean: converts a string to a boolean if it holds true or false, but...

View source: R/lib_conversions.R

string_gently_to_booleanR Documentation

converts a string to a boolean if it holds true or false, but retains the string if not

Description

converts a string to a boolean if it holds true or false, but retains the string if not

Usage

string_gently_to_boolean(x)

Arguments

x

string "TRUE", "true", "FALSE", "false" or something else


jorritvm/jrutils documentation built on Feb. 14, 2023, 11:33 p.m.