Returns the elements of an array that meet the condition specified in a callback function.
ts.filter(pred) Copy
ts.filter(pred)
But also works with generators.
list of things
function to check if thing is valid
each valid thing
Generated using TypeDoc
Returns the elements of an array that meet the condition specified in a callback function.
But also works with generators.