pkgdown/mathjax-config.html

Skip to contents

Validates that all elements are positive. By default uses >= 0 (non-negative); set strict = TRUE for > 0.

Usage

require_positive(restriction, strict = FALSE)

Arguments

restriction

a restriction object.

strict

logical; if TRUE, requires > 0. If FALSE (default), requires >= 0.

Value

The modified restriction object.