Hi. The shortest I can see: function(a){return (a && a.data && a.data.items ? a.data.items : null)} But you still have to check for the existence of a.data and a.data.items if it's possible they are null.