Version: 2022.3
public bool GetBooleanValue (bool defaultValue);

参数

defaultValue Initial value if we cannot convert the innerText.

返回

bool Returns the boolean representation of the expression.

描述

Try to parse the innerText and convert it to a boolean value.