Typescript Test For Empty Array In C