1.0.0 • Published 3 years ago
@sz-sw-le0/no-op v1.0.0
no-op
Module that creates a function that does nothing (no-operation).
Example usage:
const noop = require("no-op")
const fn = noop(true)
// calling fn() does nothing
fn() // but it will return `true`
1.0.0
3 years ago