validate_width: Validation function

Description Usage Arguments Value Examples

View source: R/validation.R

Description

Validate a Tabler element width like tabler_card.

Usage

1

Arguments

width

Value to validate.

Value

An error is raised if conditions are not met

Examples

1
2
3
4
5
6
## Not run: 
 validate_width(-1)
 validate_width(13)
 validate_width("string")

## End(Not run)

DivadNojnarg/outstanding-shiny-ui-code documentation built on Nov. 2, 2021, 12:03 p.m.