No operation function. This is a utility function that does nothing when called. It can be used as a placeholder or default callback when no action is needed.
noop(); // Does nothing Copy
noop(); // Does nothing
Use noop from es-toolkit instead.
noop
es-toolkit
No operation function. This is a utility function that does nothing when called. It can be used as a placeholder or default callback when no action is needed.