Page cover image

checkCondition

Returns a boolean based on the condition and value passed.

Description

This method lets you manually check a condition by passing a property name and value.

The value you pass will be checked against that property name in the visitor data properties. Either true or false will be returned in the response.

Parameters

propertyName (string), propertyValue (string)

Using This Method

geoflow.checkCondition('countryCode', 'US');

Output

true (boolean) or false (boolean)

Last updated

Was this helpful?