Test whether a type is list-like.
Type to test
Conservative structural check against known list-like shapes.
type A = IsListLike< number[] >; // truetype B = IsListLike< Record< string, number > >; // truetype C = IsListLike< string >; // false Copy
type A = IsListLike< number[] >; // truetype B = IsListLike< Record< string, number > >; // truetype C = IsListLike< string >; // false
Test whether a type is list-like.