Skip to content

master-key.storeNamed

Allow the user to specify a name where an expression's result can be stored. Can be retrieved later using restoreNamed.

Arguments

  • description: Message to show the user to explain why they are providing a name
  • register: This labels the store where user specified key-value pairs will be stored; this allows calls to store and restore values to be specific to the relevant context (e.g. only stored macros show up in commands related to macros, and only stored bookmarks show up in commands related to bookmarks).
  • content: A string to be evaluated as an expression