Skip to content

Commit 6102e67

Browse files
authored
Merge pull request #8 from easeq/master
Added "isNotOfType" rule and removed lodash.get dependency
2 parents 1464f7b + 2ca53df commit 6102e67

File tree

5 files changed

+13307
-13255
lines changed

5 files changed

+13307
-13255
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ There are 2 types of logical rules:
123123
Following are the available comparison rules:
124124
- ```is``` - returns true if the object value strictly matches the comparison value.
125125
- ```isNot``` - returns true if the object value does not match the comparison value.
126+
- ```isOfType``` - returns true if the object value matches the specified type (Ex: string, undefined, etc.).
127+
- ```isNotOfType``` - returns true if the object value does not matche the specified type (Ex: string, undefined, etc.).
126128
- ```anyOf``` - returns true if at least one of the comparison values matches the object key value. The comparison value needs to be an array.
127129
- ```allOf``` - returns true if all the object key value matches the comparison values. The comparison value needs to be an array.
128130
- ```noneOf``` - returns true if none of the comparison values match the object key value. The comparison value needs to be an array.

0 commit comments

Comments
 (0)