sapply

sapply(x, func)

Apply func to each element of x, simplify if possible. Like R’s sapply().