Predicate

typealias Predicate<T> = (T) -> Boolean