feat: arrayIndexOf() and arrayHasItem can now handle prediacte functions as item