Skip to main content

@terascope/data-mate / document-matcher/logic-builder/string

document-matcher/logic-builder/string

Functions

findWildcardField()

findWildcardField(field, cb): (data) => boolean

Parameters

ParameterType
fieldstring
cbBooleanCB

Returns

Function

Parameters
ParameterType
dataRecord<string, any>
Returns

boolean

Source

data-mate/src/document-matcher/logic-builder/string.ts:23


regexp()

regexp(regexStr): (str) => boolean

Parameters

ParameterType
regexStrundefined | string

Returns

Function

Parameters
ParameterType
strstring
Returns

boolean

Source

data-mate/src/document-matcher/logic-builder/string.ts:7


wildcard()

wildcard(wildcardStr): (str) => boolean

Parameters

ParameterType
wildcardStrundefined | string

Returns

Function

Parameters
ParameterType
strstring
Returns

boolean

Source

data-mate/src/document-matcher/logic-builder/string.ts:15