ml_assert_nonnegintinf
Checks if a value is a nonnegative integer or Inf.
Contents
Syntax
ml_assert_nonnegintinf(value) ml_assert_nonnegintinf(value, name)
Description
This function checks if a given value is a real, nonnegative integer value or Inf and throws an error if not.
Input
- value - value, which shall be checked
- name - character array, used as parameter name in error handling
Output
---
See Also