% Generated by roxygen2: do not edit by hand
\name{Filter}
\alias{Filter}
\alias{Find}
\alias{Position}
\title{Apply a Predicate Function Over a Vector}
\arguments{
  \item{f}{a predicate function}
  \item{x}{a vector, supplied element-wise to f
}
}

\details{
Inspecting the parity of i in 10, 9, ..., 1
\code{
is_even <- function(x) (x \%\% 2) == 0
Filter(is_even, 10:1)
Find(is_even, 10:1)
Position(is_even, 10:1)
}}

