Skip to content

Commit

Permalink
documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
domluna committed Oct 31, 2023
1 parent 00334e3 commit 4badc8f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 471 deletions.
20 changes: 20 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,26 @@ function my_large_function(argument1, argument2,
end
```

### `short_circuit_to_if`

You can convert short circuit expressions to the equivalent if expression.

```julia
b0 && foo()
b1 || bar()
```

respectively become

```julia
if b0
foo()
end
if !b1
bar()
end
```

## File Options

### `overwrite`
Expand Down
Loading

0 comments on commit 4badc8f

Please sign in to comment.