Function get_and_check_limit

Source
pub fn get_and_check_limit(
    limit: Option<u32>,
    max: u32,
    default: u32,
) -> StdResult<u32>