is_beauti_options: Determine if the object is a valid 'beauti_options'

View source: R/is_beauti_options.R

is_beauti_optionsR Documentation

Determine if the object is a valid beauti_options

Description

Determine if the object is a valid beauti_options

Usage

is_beauti_options(x)

Arguments

x

an object, to be determined if it is a beauti_options

Value

TRUE if the object is a valid beauti_options, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek

See Also

use create_beauti_options to create a valid beauti_options object

Examples

check_empty_beautier_folder()

# TRUE
is_beauti_options(create_beauti_options())

# FALSE
is_beauti_options("nonsense")
is_beauti_options(NA)
is_beauti_options(NULL)
is_beauti_options("")
is_beauti_options(c())

check_empty_beautier_folder()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.