starling.frontend.ensemble_generation.check_positive_int

check_positive_int(val)[source]

Function to check if a value is a positive integer.

Parameters:

val (int) – The value to check.

Returns:

bool

Return type:

True if val is a positive integer, False otherwise.