I have the function below.But how can I call the function below.
this.ui.filter(function(obj) {
let result = true;
let selectedResult = true;
return result && selectedResult;
});
Please help me how to call above function on button click