Question

Feedom UI SDK Comparison Type

Hi Community,

 

In Freedom UI, how use a ComparisonType Not Equal. I tried both the below syntax but it is not working.

Not_Equal

NotEqual

 

 

 

Like 0

Like

3 comments

The correct usage is: sdk.ComparisonType.Not_equal

Lower-case "e".

Ryan

Ryan Farley,

Do you know where I can find the list of all ComparisonType?

Solem Khn,

Hi. I couldn't find any official information about the available comparison types. However, I managed to figure it out on my own. You can run the following command to list the types:

console.log('ComparisonType:', sdk.ComparisonType);

Here is the list; case sensitivity matters:
Between
Is_null
Is_not_null
Equal
Not_equal
Less
Less_or_equal
Greater
Greater_or_equal
Start_with
Not_start_with
Contain
Not_contain
End_with
Not_end_with
Exists
Not_exists

I hope this helps

Show all comments