code: @SafeVarargs
      public static <V> V getLast(V... array) {
          return JMArrays.isNullOrEmpty(array) ? null : array[array.length - 1];
      }
docs: Gets last.
  
  @param <V>   the type parameter
  @param array the array
  @return the last