What exactly difference between true() and true.true() is a function.true is boolean value.But we can use both anywhere and it works.
Discussion posts and replies are publicly visible
As far as I know, while true() and true are functionally the same in that they both result in the boolean value true, it is best to use true. Using true(), while effective, will evaluate the function each time it is used and make a small but existent negative impact on performance.
Hi Shubham Aware true is a literal value of type boolean whereas true() is a function which returns it's output as true (literal) of type boolean. It's similar as null and null() function
Please follow this link to have more understanding about literals