checkAll

Function
  • Returns information about the match between a result value and the .all property of an IMatchOptions predicate
  • checkAll(attribute: string, option: string | string[], resultValue: string | string[]) : IMatchReason

Parameters

Parameter Type Default Notes
attribute Required string
option Required string | string[]
resultValue Required string | string[]

Returns

Property Type Notes
attribute string
matched boolean
condition Optional MatchCondition
message Optional string
meta Optional Record<stringany>
requirement Optional string
values Optional string

Function defined in common/src/search/_internal/explainHelpers.ts:154