Skip to contents

Check that a parameter is a positive integer

Usage

check_positive_integer(x, name)

Arguments

x

The value to check.

name

The parameter name used in the error message.

Value

No return