This version of Unity is unsupported.

SearchExpression.Check

Declaration

public static bool Check(Search.SearchExpression e, Search.SearchExpressionContext c);

Parameters

e SearchExpression to test.
c Execute context of the expression.

Returns

bool Returns true if the SearchExpression yields more than one item or if the sole item is true.

Description

Execute a SearchExpression and checks if the internal value of the first yielded SearchItem is truish. Not 0, not null, not "" and not false.