x = rand(10)
cond(a) = ((a > 0.25) && (a < 0.75))
vfilter(cond,x) # ERROR: TypeError: non-boolean (VectorizationBase.Mask{4, UInt8}) used in boolean context
filter(cond,x) # this works
vmap(cond,x) # ERROR: TypeError: non-boolean (VectorizationBase.Mask{4, UInt8}) used in boolean context
map(cond,x) # this works