subset_lt
subset_lt
returns a cloud set with a subset of the given set, where a value is less some value
Only cloudobjects from the parent set whose components are less than the given key/value pairs will be included in the subset
subset_lt(parent_set, key, value )
Parameters:
| Parameter |
Type |
Description |
| parent_set |
cloudset |
The set of object from which the subset will be selected |
| key |
string |
the key of a component whose value we will be filtering on |
| value |
mixed |
the value to use |
| valueN |
mixed |
 [Optional]optional additional value |
Returned Value:
| Type |
Description |
| cloudset |
the resulting filtered set |
Examples
folks = cloudobjects_of_type("person")
youngfolk = subset_lt(folks,"age",35)