jsonpiler 0.10.0

a Json syntax programming language for Windows
Documentation
# Boolean logic

## assert

```jspl
assert(Bool, Str) -> Null
```

If the given boolean is `false`, an error is generated at runtime.

```jspl
assert(false, "Assertion failed")

=>

╭- RuntimeError --------------
| AssertionError:
|   Assertion failed
|-----------------------------
| input.jspl:1:8
|-----------------------------
| assert(false, "Assertion failed")
|        ^^^^^
╰-----------------------------
```

## not

```jspl
not(Bool) -> Bool
not(Int) -> Int
```

Returns the NOT of the given boolean or integer.

```jspl
not(true) => false
```

## and

```jspl
and(Bool, Bool, ...) -> Bool
and(Int, Int, ...) -> Int
```

Returns the AND of the given booleans or integers.

```jspl
true and false => false
```

## or

```jspl
or(Bool, Bool, ...) -> Bool
or(Int, Int, ...) -> Int
```

Returns the OR of the given booleans or integers.

```jspl
true or false => true
```

## xor

```jspl
xor(Bool, Bool, ...) -> Bool
xor(Int, Int, ...) -> Int
```

Returns the XOR of the given booleans or integers.

```jspl
true xor false => true
```