diff options
author | Christian Hesse <mail@eworm.de> | 2024-07-22 17:57:22 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-07-22 18:28:56 +0200 |
commit | 8ea780554164ef14e5fddc1ab8692eec455a0d0c (patch) | |
tree | 85a51ab04280becc078cdbcb092848cdba73126f /doc/dhcp-lease-comment.md | |
parent | 380b3b3137710eee28ca1a1b7362ae6d5b99c784 (diff) |
global-functions: $EitherOr: pass boolean value
Note that literal "true" or "false" (even without quotes) is converted
to string. So you may have to enclose it in parentheses for a boolean
value:
> :put [ :typeof [ $EitherOr true false ] ];
str
> :put [ :typeof [ $EitherOr (true) (false) ] ];
bool
Diffstat (limited to 'doc/dhcp-lease-comment.md')
0 files changed, 0 insertions, 0 deletions