import type { DeepPath , Path , Path0 , Path1 , Path2 , Path3 , Path4 , Path5 , Path6 , Path7 , Path8 , PathVal , } from "@thi.ng/api" ; import { defMutator } from "./mutator.js" ; /**
 * Unchecked version of  mutIn .
 *
 *  remarks example param state param path param val export const mutInUnsafe = < T = any > ( state , path , val ) : any => defMutator ( < any > path ) ( state , val ) ; remarks Only the first 8 path levels are type checked.
 *
 * Also see  defMutator ,  mutInUnsafe example param state param path param val export function mutIn < T > ( state , path , val ) ; export function mutIn < T , A > ( state , path , val ) ; export function mutIn < T , A , B > ( state , path , val ) ; export function mutIn < T , A , B , C > ( state , path , val ) ; export function mutIn < T , A , B , C , D > ( state , path , val ) ; export function mutIn < T , A , B , C , D , E > ( state , path , val ) ; export function mutIn < T , A , B , C , D , E , F > ( state , path , val ) ; export function mutIn < T , A , B , C , D , E , F , G > ( state , path , val ) ; export function mutIn < T , A , B , C , D , E , F , G , H > ( state , path , val ) ; export function mutIn < T , A , B , C , D , E , F , G , H > ( state , path , val ) ; export function mutIn ( state , path , val ) { return defMutator ( < any > path ) ( state , val ) ; }