getPredicateValues

Function

Get all the values for a predicate in a query

  • getPredicateValues(predicateProp: string, query: IQuery, props: string[]) : string[]

Parameters

Parameter Type Default Notes
predicateProp Required string

The predicate property to get the values for

query Required IQuery

The query to get the values from

props Optional string[] ["any", "all"]

Returns

An array of all the values for the predicate

string[]

Function defined in common/src/search/getPredicateValues.ts:13