Skip to content

Commit

Permalink
d.custom.if_z: returns default also for empty value
Browse files Browse the repository at this point in the history
  • Loading branch information
pyroscope committed Jun 18, 2018
1 parent 4a8d66b commit 633db28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/include-cmd-items.rst
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ When called within configuration methods or in a ``Ctrl-X`` prompt, the target i
d.custom.if_z = ‹hash›, string ‹key›, string ‹default› ≫ string ‹value›
Just like :term:`d.custom`, but returns the `‹default›` value if the `‹key›` does not exist.
Just like :term:`d.custom`, but returns the `‹default›` value if the `‹key›` does not exist,
or if its value is empty.


d.custom.keys
Expand Down

0 comments on commit 633db28

Please sign in to comment.