We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ff459 commit ca3b242Copy full SHA for ca3b242
README.md
@@ -33,15 +33,14 @@ import { evaluate } from "cel-typescript";
33
await evaluate(
34
// 1️⃣ Provide a CEL expression
35
"size(message) > 5",
36
+
37
// 2️⃣ Provide a context object
38
{ message: "Hello World" },
39
); // true
40
41
// Complex object traversal and comparison
42
- // 1️⃣ Provide a CEL expression
43
"user.age >= 18 && user.preferences.notifications",
44
- // 2️⃣ Provide a context object
45
{
46
user: {
47
age: 25,
0 commit comments