[jQuery] using grep with a list rather than an array

[jQuery] using grep with a list rather than an array


Is it possible to use grep on a list or only on an array? If not
possible with a list, how do you convert a list to an array?