Check Empty Array In Angular Typescript Interface Optional Parameter