getIn()

Returns the value at the provided key path starting at the provided collection, or notSetValue if the key path is not defined.

A functional alternative to collection.getIn(keypath) which will also work with plain Objects and Arrays.

Method signature

getIn(collection, keyPath, notSetValue?): any;
;