Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Eval

Implement this function to evaluate the query on a payload.
Read time 1 minuteLast updated 10 days ago

Definition

Eval(T)

Implement this function to evaluate the query on a payload.
IEnumerable<TData> Eval(TPayload payload)

Parameters

payload

T
The input data of the query.

Returns

Type

Description

IEnumerable<T>An enumerable of type TData.

Eval(T)

Implement this function to evaluate the query on a single element.
bool Eval(TData element)

Parameters

element

T
A single object to be tested.

Returns

Type

Description

boolTrue if the object passes the query, false otherwise.