Skip to content

Commit

Permalink
Add AA.remove() return behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
Infiltrator committed Jun 4, 2013
1 parent 5077568 commit 7e591a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hash-map.dd
Expand Up @@ -26,6 +26,10 @@ func(b["hello"]); // pass 3 as parameter to func()
---------
b.$(CODE_HIGHLIGHT remove)("hello");
---------
$(P remove(key) does nothing if the given $(I key) does not exist and
returns $(B false). If the given $(I key) does exist, it removes it
from the AA and returns $(B true).
)

$(P The $(I InExpression) yields a pointer to the value
if the key is in the associative array, or $(D null) if not:
Expand Down

0 comments on commit 7e591a5

Please sign in to comment.