Angular 2 - Check if property is an array
<p>In Angular 2 how do I check if a property is an array? </p>

<p>I have tried constructor but get a function as below: </p>

<pre><code>function Array() { [native code] }
</code></pre>

<p>My Code:</p>

<pre><code>let content: any = {id: '1324234', value:{id:null}};
if(content.value.constructor === 'Array'){
 console.log('It is an array');
} else {
 console.log('Not an array');
}
</code></pre>