isBlankString: Test if character string is only whitespace (i.e., blank)

View source: R/isBlankString.R

isBlankStringR Documentation

Test if character string is only whitespace (i.e., blank)

Description

Function to test if character string is only whitespace (i.e., blank).

Usage

isBlankString(str)

Arguments

str
  • character string to test

Details

Returns TRUE if stringr::str_squish(str) reduces str to "", otherwise FALSE. Also returns FALSE if str is not a length 1 character vector.

Value

TRUE or FALSE.


wStockhausen/wtsUtilities documentation built on Aug. 18, 2024, 11:48 p.m.