argopy.utilities.is_cyc
argopy.utilities.is_cyc#
- is_cyc(lst, errors='raise')[source]#
Check if a CYC is valid :param cyc: CYC must be a single or a list of at most 4 digit positive numbers :type cyc: int, list(int), array(int) :param errors: Possibly raises a ValueError exception or UserWarning, otherwise fails silently. :type errors: {‘raise’, ‘warn’, ‘ignore’}
- Returns
True if cyc is indeed a list of integers
- Return type