Alias for returns function
Usage
schema(..., .contract = NULL)
Arguments
- ...
Named type specifications
- .contract
Optional contract for validation
Value
A tibble prototype defining expected structure
Examples
schema(value = dbl(), label = chr())
#> # A tibble: 0 × 2
#> # ℹ 2 variables: value <dbl>, label <chr>