Async guard operator. The validator can be synchronous or asynchronous (return a Promise). Passes data through if the predicate is true, otherwise returns undefined.
Async guard operator. The validator can be synchronous or asynchronous (return a Promise).
Passes data through if the predicate is true, otherwise returns undefined.