Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Apr 29, 2019
1 parent 91105f6 commit ffd073e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const obj = {
};

// Performant option – useful if the same condition is used over and over again
const condition = fulfills.compile('property.subproperty = value OR property.subproperty = 123');
const condition = fulfills.compileCondition('property.subproperty = value OR property.subproperty = 123');

if (fulfills(obj, condition)) {
// ...
Expand Down

0 comments on commit ffd073e

Please sign in to comment.