findValue
Stentor API Reference / stentor-utils/src / findValue
Function: findValue()
findValue(
possibleKeys,fields?):string|undefined
Defined in: packages/stentor-utils/src/lead.ts:79
Returns the trimmed value of the first field matching any of the possible keys, or undefined. Matching is case insensitive and blank values are treated as absent.
Parameters​
possibleKeys​
readonly string[]
fields?​
Returns​
string | undefined