Objects (dw::core::Objects) Flashcards
1
Q
divideBy
A
Breaks up an object into sub-objects that contain the specified number of key-value pairs.
2
Q
entrySet
A
Returns an array of key-value pairs that describe the key, value, and any attributes in the input object.
3
Q
everyEntry
A
Returns true if every entry in the object matches the condition.
4
Q
keySet
A
Returns an array of key names from an object.
5
Q
mergeWith
A
Appends any key-value pairs from a source object to a target object.
6
Q
nameSet
A
Returns an array of keys from an object.
7
Q
someEntry
A
Returns true if at least one entry in the object matches the specified condition.
8
Q
takeWhile
A
Selects key-value pairs from the object while the condition is met.