associative array delete
Updated on August 22, 2024Source codeTests
createAssociativeArrayDelete is a link that deletes an entry from an associative array.
Create delete
Call createAssociativeArrayDelete with these parameters to create your delete function:
Parameter
Type
Required
Description
keyany
yes
The key to delete.
optionsObject
no
Options to customize the behavior of the
delete function. See the Options section for more guidance.Options
Option
Type
Default
Description
predicateKeyFunction
Strict equality check
A function that accepts a key and returns a boolean indicating whether or not the key matches the one you're looking for.