Version: 2023.2
public bool Filter (SearchService.ISearchContext context, string query, T objectToFilter);

参数

context The search context.
query The query string used for the search.
objectToFilter The element to test against the search query.

返回

bool True if the element satisfies the search query, false otherwise.

描述

This function checks whether or not the specified element satisfies the search query.