Skip to content

Latest commit

 

History

History
85 lines (51 loc) · 1.51 KB

File metadata and controls

85 lines (51 loc) · 1.51 KB

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 );