docs: it.util.equal
parent
d01a0b8f0f
commit
fc66d316f2
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue