When filtering the input against the cached query result, I convert both the user input value and database values to lowercase for comparison.
result = this.cachedResults.filter(f => f.prj.toLowerCase().indexOf((this.sV).toLowerCase()) !== -1);
This method works well unless there is a NULL
value in the cached results. How can I ignore or escape records with NULL values in this case?