it("throws if it is called with a non-function argument", () => {
        expect(() => from([1]).all(0)).toThrowError("`matches` should be a function");
    });