GetBooleanValue(bool)
Try to parse the innerText and convert it to a boolean value.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public bool GetBooleanValue(bool defaultValue = false)
Parameters
Initial value if we cannot convert the innerText.
Returns
Type | Description |
|---|---|
| bool | Returns the boolean representation of the expression. |