1.0.0 • Published 7 years ago
@underdash/noop v1.0.0
noop ○
Doing nothing with high reliability.
Philosophy
Doing nothing with an automated deployment pipeline and intensive testing procedures to absolutely positively make sure nothing is done, neither as effect, side-effect, nor internal effect, whilst also providing high code quality assurance. We're taking nothing serious.
Installation
npm i @underdash/noopUsage
The function can be called with no side effect and does nothing except for polluting your call stack. The return value is undefined.
noop()Any parameter you add will be safely ignored.
noop(null) // same as noop(), but makes the code look hacky