This function selects from the given objects those for which
the corresponding condition (parameter condition
) is true. The number of
conditions should match to the number of objects.
To connect several conditions the functions math.and
and math.or
can be used.