Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.