subset_ge

The members of a set or a list whose field is greater than or equal to a value. A cloud set is filtered on the server and stays a set; a list is filtered where it is and gives a list.

Runs on: either side: the compiler places the statement that calls it where the values it uses live.

Format:

subset_ge(set_or_list, key, value)

Parameters:

Parameter Type Description
set_or_list mixed the cloud set, or the list of records
key string the field name
value mixed the value to compare with

Returned Value:

Type Description
mixed the subset (a set) or the matching members (a list)

Examples

cheap = subset_ge(offers, "price", 20)