Activity Forums Salesforce Questions and Answers What is the use of remove(key) in map in Salesforce?

  • What is the use of remove(key) in map in Salesforce?

  • Pooja

    Member
    February 21, 2020 at 2:33 pm

    What is the use of remove(key) in map in Salesforce?

  • Deepak

    Member
    February 21, 2020 at 2:56 pm

    Hi Pooja,

    remove(key) -  This method removes the mapping for the specified key from the map, if present, and returns the corresponding value

Viewing 1 - 2 of 2 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now