import type { DeepPath , OptPathVal , Path , Path0 , Path1 , Path2 , Path3 , Path4 , Path5 , Path6 , Path7 , Path8 , } from "@thi.ng/api" ; import { defGetter } from "./getter.js" ; /**
 * Unchecked version of  getIn . Returns `undefined` if path is
 * invalid.
 *
 *  remarks example param state param path export const getInUnsafe = < T = any > ( state , path ) : T | undefined => defGetter < T > ( < any > path ) ( state ) ; remarks example param state param path export function getIn < T > ( state , path ) ; export function getIn < T , A > ( state , path ) ; export function getIn < T , A , B > ( state , path ) ; export function getIn < T , A , B , C > ( state , path ) ; export function getIn < T , A , B , C , D > ( state , path ) ; export function getIn < T , A , B , C , D , E > ( state , path ) ; export function getIn < T , A , B , C , D , E , F > ( state , path ) ; export function getIn < T , A , B , C , D , E , F , G > ( state , path ) ; export function getIn < T , A , B , C , D , E , F , G , H > ( state , path ) ; export function getIn < T , A , B , C , D , E , F , G , H > ( state , path ) ; export function getIn ( state , path ) { return defGetter ( < any > path ) ( state ) ; }