This is documentation for the next version of K6. For the latest stable release, go to the latest version.
Selection.filter(selector)
Reduce the set of matched elements to those that match the selector or pass the function’s test. Mimics jquery.filter