@terascope/data-mate / document-matcher/logic-builder/string
document-matcher/logic-builder/string
Functions
findWildcardField()
findWildcardField(
field
,cb
): (data
) =>boolean
Parameters
Parameter | Type |
---|---|
field | string |
cb | BooleanCB |
Returns
Function
Parameters
Parameter | Type |
---|---|
data | Record <string , any > |
Returns
boolean
Source
data-mate/src/document-matcher/logic-builder/string.ts:23
regexp()
regexp(
regexStr
): (str
) =>boolean
Parameters
Parameter | Type |
---|---|
regexStr | undefined | string |
Returns
Function
Parameters
Parameter | Type |
---|---|
str | string |
Returns
boolean
Source
data-mate/src/document-matcher/logic-builder/string.ts:7
wildcard()
wildcard(
wildcardStr
): (str
) =>boolean
Parameters
Parameter | Type |
---|---|
wildcardStr | undefined | string |
Returns
Function
Parameters
Parameter | Type |
---|---|
str | string |
Returns
boolean