Skip to content

Commit ca3b242

Browse files
docs: README update
1 parent 55ff459 commit ca3b242

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,14 @@ import { evaluate } from "cel-typescript";
3333
await evaluate(
3434
// 1️⃣ Provide a CEL expression
3535
"size(message) > 5",
36+
3637
// 2️⃣ Provide a context object
3738
{ message: "Hello World" },
3839
); // true
3940

4041
// Complex object traversal and comparison
4142
await evaluate(
42-
// 1️⃣ Provide a CEL expression
4343
"user.age >= 18 && user.preferences.notifications",
44-
// 2️⃣ Provide a context object
4544
{
4645
user: {
4746
age: 25,

0 commit comments

Comments
 (0)