code: @NullSafe
    @SafeVarargs
    public static <T> T getFirst(T... array) {
      return getFirst(array, null);
    }
docs: Returns the first element (at index 0) in the {@code array}.
  
  @param <T> {@link Class} type of elements in the array.
  @param array array from which to extract the first element.
  @return the first element in the array or {@literal null}
  if the {@code array} is {@literal null} or empty.
  @see #getFirst(Object[], Object)