GamesEngine.Validations.NumericValidations (games_engine v0.3.2)
Functions which perform numeric validations
Summary
Functions
Ensures the input is a non-negative integer
Ensures the input is numeric
Ensures the input is within a given range
Functions
Link to this function
non_neg_integer(input)
Ensures the input is a non-negative integer
Link to this function
numeric(input)
Ensures the input is numeric
Link to this function
within_range(input, min, max)
Ensures the input is within a given range