noop

Function which does nothing.

Usage

var noop = require( '@stdlib/utils/noop' );

noop()

A function which does nothing.

noop();
// ...does nothing.

Examples

var noop = require( '@stdlib/utils/noop' );

function foo( next ) {
    // Do something...

    // Then...
    next();
}

foo( noop );
Did you find this page helpful?