Did you know ... Search Documentation:
library(apply): Apply predicates on a list