isContentTruthy: Check for data structures validity

View source: R/utils_isContentTruthy.R

isContentTruthyR Documentation

Check for data structures validity

Description

Check if x is truthy (as shiny::isTruthy) or not, but also checks for its potential content. This function uses unlist() and all() to check every bit of the variable.

Usage

isContentTruthy(x)

Arguments

x

argument to check fo truthiness

Value

A logical indicating whether or not the variable is Truthy.


earnaud/MetaShARK-v2 documentation built on Sept. 21, 2022, 10:52 a.m.