1Hardconditional typesโฑ 45s
What is the result of this conditional type?
โผ
typescript
type IsArray<T> = T extends any[] ? 'array' : 'not array';
type A = IsArray<string[]>;
type B = IsArray<number>;