NodeJS: Detect if an Object is empty or not

/ Published in: JavaScript
Save to your folder(s)

Using ExpressJS, I wanted a simple function that would respond (through JSON) whether a request query was present or not.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.