function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lukesh KarmoreLukesh Karmore 

Reply to my question..

The current value of a.isEdit is true. So NOT(a.isEdit) is  false???
and   the value of this {!NOT(a.isEdit)} ???
Reply me
Dushyant SonwarDushyant Sonwar
Lukesh.

if a.isEdit  is true , then {!NOT(a.isEdit)} is false
if a.isEdit  is false , then {!NOT(a.isEdit)} is true

Hope you get your answer
 
Lukesh KarmoreLukesh Karmore
Hello Dushyant,  
i have confusion about ( ! and NOT) which one convert  true  to false and false to true
(! is Not operator convert true to false)
(NOT also not  convert  true to false)
Dushyant SonwarDushyant Sonwar


In Visualforce , ! this use to bind the variable  

If you use !!, then it will work as NOT

if a.isEdit  is true , then  {!!a.isEdit} is false
if a.isEdit  is false , then {!!a.isEdit} is true


single ! is only used to bind varibales or field in visualforce

Hope you get your answer

 
Dushyant SonwarDushyant Sonwar
Same works for lightning also
Lukesh KarmoreLukesh Karmore
ya true, i mixed apex with vf so here  only NOT working (! is the bind we use always)
clear the doubt 
thak you Dushyant