Skip to content

Commit

Permalink
(docs) change and expact Arity section in getting started guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 18, 2024
1 parent 1513c20 commit 29c9e5c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,11 @@ If you type `hello Terminal` it will print "hello, this is Terminal"

## Terminal Options

### Arity
### Variable number of arguments

If you want the argument to be optional you need to `checkArity: false` option (options is
an object that is a second argumnet to the termianal).
If you want the argument to be optional you need to `checkArity: false` option (options is an object
that is a second argumnet to the termianal). Variable number of arguments is so called
[Arity](https://en.wikipedia.org/wiki/Arity).

```javascript
$('body').terminal({
Expand Down

0 comments on commit 29c9e5c

Please sign in to comment.