[{"name":"Filter","comment":" Useful ways to combine filters (also known as predicates)!\n\n@docs Filter, all, and, any, array, by, custom, eq, fail, gt, list, lt, not, or, pass, test\n\n","unions":[{"name":"Filter","comment":" A `Filter` takes a value `a` and determines whether it should pass or fail.\n","args":["a"],"cases":[]}],"aliases":[],"values":[{"name":"all","comment":" Pass if all filters pass.\n","type":"List.List (Filter.Filter a) -> Filter.Filter a"},{"name":"and","comment":" Pass if both filters pass.\n","type":"Filter.Filter a -> Filter.Filter a -> Filter.Filter a"},{"name":"any","comment":" Pass if at least one filter passes.\n","type":"List.List (Filter.Filter a) -> Filter.Filter a"},{"name":"array","comment":" Keep items that pass the filter.\n","type":"Filter.Filter a -> Array.Array a -> Array.Array a"},{"name":"by","comment":" Filter a value by a derived property, like its height.\n\n    bob =\n        { height = 5 }\n\n    isTall =\n        by .height <| gt 6\n\n    test isTall bob\n    -- False\n\n","type":"(a -> b) -> Filter.Filter b -> Filter.Filter a"},{"name":"custom","comment":" Sometimes the building blocks in this library aren't enough!\n","type":"(a -> Basics.Bool) -> Filter.Filter a"},{"name":"eq","comment":" Test whether a value is equal to `item`.\n","type":"a -> Filter.Filter a"},{"name":"fail","comment":" A filter that always fails.\n","type":"Filter.Filter a"},{"name":"gt","comment":" Test whether a value is greater than `num`.\n","type":"Basics.Int -> Filter.Filter Basics.Int"},{"name":"list","comment":" Keep items that do pass the filter.\n","type":"Filter.Filter a -> List.List a -> List.List a"},{"name":"lt","comment":" Test whether a value is less than `num`.\n","type":"Basics.Int -> Filter.Filter Basics.Int"},{"name":"not","comment":" Flip the outcome of a filter; if it fails it passes, and if it passes it fails.\n","type":"Filter.Filter a -> Filter.Filter a"},{"name":"or","comment":" Pass if at least one filter passes.\n","type":"Filter.Filter a -> Filter.Filter a -> Filter.Filter a"},{"name":"pass","comment":" A filter that always passes.\n","type":"Filter.Filter a"},{"name":"test","comment":" Run an item through a given filter.\n","type":"Filter.Filter a -> a -> Basics.Bool"}],"binops":[]}]