public static bool All <TSource>(this Memory <TSource> source, FunctionIn <TSource, int, bool> predicate) => source.AllAtRef(new FunctionInWrapper <TSource, int, bool>(predicate));
public static bool All <TSource>(this Memory <TSource> source, FunctionIn <TSource, int, bool> predicate) => source.AllAtRef(new FunctionInWrapper <TSource, int, bool>(predicate));