This version of Unity is unsupported.

SearchExpression.GetBooleanValue

Declaration

public bool GetBooleanValue(bool defaultValue);

Parameters

defaultValue Initial value if we cannot convert the innerText.

Returns

bool Returns the boolean representation of the expression.

Description

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