hasIn(collection: string | boolean | number, keyPath: KeyPath<unknown>): never hasIn<K>(collection: unknown, keyPath: KeyPath<K>): boolean