{done : true, name : string} or {done : false}, and I want to map only the one that satisfies done: true... Obviously I can do a regular map with an if in it and return the object if it doesn't satisfy, but I find the typing of this can be a bit verbose in some cases for some of my helper functions... is there a way to say something like: