Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
huttotw committed Dec 14, 2017
1 parent 478738e commit 95cde66
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ res := e.Evaluate(props)
// res == true
```

# Comparators
* `eq` will return true if `a == b`
* `neq` will return true if `a != b`
* `lt` will return true if `a < b`
* `lte` will return true if `a <= b`
* `gt` will return true if `a > b`
* `gte` will return true if `a >= b`
* `contains` will return true if `a` contains `b`
* `oneof` will return true if `a` is one of `b`

`contains` is different than `oneof` in that `contains` expects the first argument to be a slice, and `oneof` expects the second argument to be a slice.

# Benchmarks

|Benchmark|N|Speed|
Expand Down

0 comments on commit 95cde66

Please sign in to comment.