Skip to main content

ArrayFuns

isEmpty#

import j8plus.ArrayFuns;
final String[] emptyArray = {};final String[] nonEmptyArray = { "abc", "def" };
ArrayFuns.isEmpty(emptyArray); // trueArrayFuns.isEmpty(nonEmptyArray); // false

isNotEmpty#

import j8plus.ArrayFuns;
final String[] nonEmptyArray = { "abc", "def" };final String[] emptyArray = {};
ArrayFuns.isNotEmpty(nonEmptyArray); // trueArrayFuns.isNotEmpty(emptyArray); // false