import { Fn } from '../Fn'; import { Invoke } from '../Invoke'; import { IfInvoking, Input } from '../utils'; export interface AllCharsAre> extends Fn { out: IfInvoking>, boolean>; } export type AllCharsAreRaw, S extends string> = S extends `${infer FirstLetter extends string}${infer Rest extends string}` ? Invoke extends true ? AllCharsAreRaw : false : true;