mirror of
https://github.com/casey/just.git
synced 2024-11-22 18:34:06 +03:00
Tweak
This commit is contained in:
parent
0da196645c
commit
dd32da5702
@ -1332,7 +1332,7 @@ These operators are currently unstable.
|
|||||||
The `&&` operator returns the empty string if the left-hand argument is the
|
The `&&` operator returns the empty string if the left-hand argument is the
|
||||||
empty string, otherwise it returns the right-hand argument:
|
empty string, otherwise it returns the right-hand argument:
|
||||||
|
|
||||||
```just
|
```mf
|
||||||
foo := '' && 'goodbye' # ''
|
foo := '' && 'goodbye' # ''
|
||||||
bar := 'hello' && 'goodbye' # 'goodbye'
|
bar := 'hello' && 'goodbye' # 'goodbye'
|
||||||
```
|
```
|
||||||
@ -1340,7 +1340,7 @@ bar := 'hello' && 'goodbye' # 'goodbye'
|
|||||||
The `||` operator returns the left-hand argument if it is non-empty, otherwise
|
The `||` operator returns the left-hand argument if it is non-empty, otherwise
|
||||||
it returns the right-hand argument:
|
it returns the right-hand argument:
|
||||||
|
|
||||||
```just
|
```mf
|
||||||
foo := '' || 'goodbye' # 'goodbye'
|
foo := '' || 'goodbye' # 'goodbye'
|
||||||
bar := 'hello' || 'goodbye' # 'hello'
|
bar := 'hello' || 'goodbye' # 'hello'
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user