( collection: GetInParameters[0], keyPath: GetInParameters[1] )
| 10 | * work with plain Objects and Arrays. |
| 11 | */ |
| 12 | export function hasIn( |
| 13 | collection: GetInParameters[0], |
| 14 | keyPath: GetInParameters[1] |
| 15 | ): boolean { |
| 16 | return getIn(collection, keyPath, NOT_SET) !== NOT_SET; |
| 17 | } |