Skip to main content
8 events
when toggle format what by license comment
Apr 11, 2019 at 18:33 history edited Jayant Das CC BY-SA 4.0
added 31 characters in body
Apr 11, 2019 at 18:33 comment added Jayant Das @SallyRothroat Ah, I missed that part. It's just a variable of type of the object which is fetched in the constructor, I have updated my answer. If you are already getting your record, then you just need to verify the Id and done.
Apr 11, 2019 at 18:32 comment added MadMax I was already getting the record so perfect I'll just check if it's null. What's the abc for?
Apr 11, 2019 at 18:29 comment added MadMax I'll test it out, thanks !
Apr 11, 2019 at 18:29 vote accept MadMax
Apr 11, 2019 at 17:19 comment added Jayant Das @sfdcfox I agree. I just keep it for a better readability just to not confuse between = and == in the same statement.
Apr 11, 2019 at 17:19 comment added sfdcfox +1 Strictly speaking, the parentheses around the ternary expression is not necessary, since there's no ambiguity in the syntax.
Apr 11, 2019 at 16:52 history answered Jayant Das CC BY-SA 4.0