is-incoming-message
v1.0.0
Published
Check if value is an incoming message (`req`)
Readme
is-incoming-message
Check if value is an incoming message (req).
Installation
$ npm install is-incoming-messageUsage
const isReq = require('is-incoming-message')
const http = require('http')
http.createServer((req, res) => {
isReq(req)
// => true
})
