showing results for - "ejs 2f javascript check if array 2fobject exists and is not empty"
Paul
05 Jul 2019
1<% if(typeof papers == 'object' && papers.length > 0){ %>
2  // whatever you want to do with 'papers' array
3  <% } %>