export type UnarrayIfOnlyHead = T extends [ infer Head, infer Next ] ? T : T extends [infer Head] ? Head : T;