Angular Typescript Check If Object Is Array A Verb