• Returns the max length of the given arrays

    Parameters

    • Rest...arrays: (any[] | readonly any[])[]

      the arrays to check

    Returns number

    the max length of the given arrays

    maxLength(['foo', 'bar'], [1, 2, 3]);    // 3