Skip to main content


Deletes a key-value pair from a table without employing delegation


Device + Agent


Name Type Description
key Any Squirrel data type The key to be deleted


Any Squirrel data type — the value of the deleted key, otherwise null


This method deletes the target slot without employing delegation. If the table lacks the target slot, the methods returns null, otherwise is returns the value associated with that slot. The slot’s key is implicitly deleted, so if you wish to re-use it, you will need to add it using the table slot assignment operator, <-.

Example Code