docs: it.util.equal

master
Evgeny Poberezkin 2017-05-19 20:13:26 +01:00
parent d01a0b8f0f
commit fc66d316f2
1 changed files with 5 additions and 0 deletions

View File

@ -288,6 +288,11 @@ it.util.toHash(['a', 'b', 'c']) // { a: true, b: true, c: true }
```
##### .equal(value1, value2) -> Boolean
Performs deep equality comparison. This function is used in keywords `enum`, `constant`, `uniqueItems` and can be used in custom keywords.
##### .getProperty(String key) -> String
Converts the string that is the key/index to access the property/item to the JavaScript syntax to access the property (either "." notation or "[...]" notation).