mirror of
https://github.com/biscuit-auth/biscuit.git
synced 2024-10-05 18:17:22 +03:00
Apply suggestions from code review
This commit is contained in:
parent
0ae2d02cf7
commit
09b9b0e4eb
@ -117,8 +117,8 @@ We will represent the various types as follows:
|
||||
- string: `"hello"` (strings are converted to integer ids through the symbol table)
|
||||
- byte array: `hex:01A2`
|
||||
- date in RFC 3339 format: `1985-04-12T23:20:50.52Z`
|
||||
- boolean: `true` or `false`, supported since block version 5
|
||||
- null: `null`
|
||||
- boolean: `true` or `false`
|
||||
- null: `null`, supported since block version 5
|
||||
- set: `[ "a", "b", "c"]`
|
||||
|
||||
As an example, assuming we have the following facts: `parent("a", "b")`,
|
||||
@ -156,7 +156,7 @@ not equal, set inclusion.
|
||||
A _boolean_ is `true` or `false`. It supports the following operations:
|
||||
`==`, `!=`, `||`, `&&`, set inclusion.
|
||||
|
||||
A _null_ is a default type indicating the absence of value. It supports the operations `==` and `!=` with any other type.
|
||||
A _null_ is a default type indicating the absence of value. It supports the operations `==` and `!=` with any other type. _null_ is always equal to itself, and not equal to any other type
|
||||
|
||||
A _set_ is a deduplicated list of terms of the same type. It cannot contain
|
||||
variables or other sets. It supports equal, not equal, , intersection, union,
|
||||
|
Loading…
Reference in New Issue
Block a user