Parse Helper
Properties
inputSelectorIgnoreTypes
inputSelectorIgnoreTypes:
string
[]
Methods
cloneDeep()
cloneDeep<
TObject
>(obj
):TObject
Type parameters
• TObject
Parameters
• obj: TObject
Returns
TObject
emailAddress()
emailAddress(
emailAddress
):string
Parameters
• emailAddress: string
Returns
string
getContentIdFromProduct()
getContentIdFromProduct(
product
,convergeConfig
,destinationLibrary
):undefined
|string
Parameters
• product: undefined
| CommerceActivityTrackingEventProductMetadata
• convergeConfig: ConvergeEmbedTrackingWebsiteConfiguration
• destinationLibrary: undefined
| AnalyticsLibrary
Returns
undefined
| string
getContentNameFromProduct()
getContentNameFromProduct(
product
,_convergeConfig
):undefined
|string
Parameters
• product: undefined
| CommerceActivityTrackingEventProductMetadata
• _convergeConfig: ConvergeEmbedTrackingWebsiteConfiguration
Returns
undefined
| string
getNestedProperty()
getNestedProperty(
obj
,propPath
):any
Parameters
• obj: any
• propPath: string
Returns
any
isDeepEqual()
isDeepEqual(
object1
,object2
):boolean
Parameters
• object1: any
• object2: any
Returns
boolean
isNumber()
isNumber(
value
):boolean
Parameters
• value: string
Returns
boolean
last()
last<
TElement
>(arr
):undefined
|TElement
Type parameters
• TElement
Parameters
• arr: TElement
[]
Returns
undefined
| TElement
lastOrDefault()
lastOrDefault<
TElement
>(arr
):undefined
|TElement
Type parameters
• TElement
Parameters
• arr: TElement
[]
Returns
undefined
| TElement
mergeDeep()
mergeDeep(
target
,source
):any
Parameters
• target: any
• source: any
Returns
any
parseError()
parseError(
err
):object
Parameters
• err: any
Returns
object
parseFloat()
parseFloat(
val
):number
Parameters
• val: undefined
| null
| string
| number
Returns
number
parseFormToPersonDetails()
parseFormToPersonDetails(
form
):null
|ExtractedIdentity
Parameters
• form: HTMLElement
Returns
null
| ExtractedIdentity
parseInt()
parseInt(
val
):number
Parameters
• val: undefined
| null
| string
| number
Returns
number
parseMoney()
parseMoney(
val
):number
Parameters
• val: undefined
| null
| string
| number
Returns
number
parseStr()
parseStr(
val
):string
Parameters
• val: undefined
| null
| string
| number
Returns
string
phoneNumberToE164()
phoneNumberToE164(
phone
):string
Parameters
• phone: string
Returns
string
setNestedProperty()
setNestedProperty(
obj
,propPath
,value
):any
Parameters
• obj: any
• propPath: string
• value: any
Returns
any