ZygosoptionfilterOn this pagefilter() filter<A>(predicate): (fa) => Option<A> Filters the value with a predicate. Type Parametersโ A: Aโ The value type. Parametersโ predicate: (a) => booleanโ The predicate function. Returnsโ A function that filters the Option. Sinceโ 2.0.0