Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Verified Answer
Replies
3 replies
Answers
1 answer
Subscribers
11 subscribers
Views
945 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Best Practices
contains({ 1, 2, 3 }, tointeger({}))
Dinesh Arumugam
Certified Senior Developer
9 months ago
The Output is True ,why
Discussion posts and replies are publicly visible
Top Replies
Stefan Helzle
9 months ago
+2
verified
Certified Lead Developer
Good question, but at least it is documented. https://docs.appian.com/suite/help/24.3/fnc_set_contains.html#check-for-a-null-value
gayatria0439
9 months ago
+1
Certified Associate Developer
Hi Dinesh Arumugam , When the value is an empty list of the same type, it will return True. Yes, we can find this information in the documentation.
Mike Schmitt
9 months ago
+1
suggested
Certified Lead Developer
technically every set contains an empty set (in any number). a little bit like how you can multiply any number by zero and get a valid result (zero). unintuitive, but still true.