IsTrue(SearchItem)
Check if the internal value of a SearchItem is truish. It means the value is not 0, not null, not "" and not false.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static bool IsTrue(SearchItem item)
Parameters
SearchItem to test.
Returns
Type | Description |
|---|---|
| bool | Returns true if the value of the SearchItem is truish. |