between function

Do values in a numeric vector fall in specified range?