Namespace: filter

shared. filter

Crop filtering

Methods


<static> choose(crop, filters)

Parameters:
Name Type Description
crop Object
filters Array
Returns:
Type
Array

<static> filter(crops, filters)

Parameters:
Name Type Description
crops Array
filters Array
Returns:
Type
Array

<static> filterAndSort(allCrops, cropsInBed, filters, sort)

Parameters:
Name Type Description
allCrops Array
cropsInBed Array
filters Array
sort Boolean
Returns:
Type
Array