node_modules/pomelo-admin/node_modules/pomelo-scheduler/lib/cronTrigger.js
/**
 * Check if the numbers are valid
 * @param nums The numbers array need to check
 * @param min Minimus value
 * @param max Maximam value
 * @return If all the numbers are in the data range
 */
Check if the numbers are valid
@param nums The numbers array need to check
@param min Minimus value
@param max Maximam value
@return If all the numbers are in the data range
Check if the numbers are valid @param nums The numbers array need to check @param min Minimus value @param max Maximam value @return If all the numbers are in the data range
function checkNum(nums, min, max){
  if(nums == null)
    return false;
  if(nums == -1)
    return true;
  for(var i = 0; i < nums.length; i++){
    if(nums[i]<min || nums[i]>max)
      return false;
  }
  return true;
}
function checkNum ( nums , min , max ) { if ( nums == null ) return false ; if ( nums == - 1 ) return true ; for ( var i = 0 ; i < nums . length ; i ++ ) { if ( nums [ i ] < min || nums [ i ] > max ) return false ; } return true ; }
Check if the numbers are valid
 @param nums The numbers array need to check
 @param min Minimus value
 @param max Maximam value
 @return If all the numbers are in the data range
Check if the numbers are valid @param nums The numbers array need to check @param min Minimus value @param max Maximam value @return If all the numbers are in the data range