Skip to contents

check input within bounds

Usage

check_num_bounds(x, min = Inf, max = Inf)

Arguments

x

the input to check

min

optional lower bound

max

optional upper bound