io.github.ashwithpoojary98.Helper Maven / Gradle / Ivy
The newest version!
package io.github.ashwithpoojary98;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;
public class Helper {
public static boolean isArray(Object value) {
if (value instanceof String) {
return false;
}
if (value instanceof byte[]) {
return false;
}
return value instanceof Iterable;
}
public static List