coapjs / node-coap

CoAP - Node.js style
MIT License
531 stars 154 forks source link

Replace `null` check for reuseAddr config parameter #313

Closed JKRhb closed 2 years ago

JKRhb commented 2 years ago

I would have not done the == null check that way (more like !== false ... is true :-) and only false is false ... would be my comment here :-)

_Originally posted by @Apollon77 in https://github.com/mcollina/node-coap/pull/271#discussion_r743908796_