list.contains(object) returns null instead of false when list is assigned to null
Consider the following code:
- list1 = list();
- list1 = null;
- info list1.contains(1);
Info returns:
null
(see attached screenshot)
According to the
documentation of List.contains(), the only possible return values of List.contains() are
true and
false. But in the code above, it returns
null.
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.