react-bootstrap
Version:
Bootstrap 5 components built with React
12 lines (11 loc) • 309 B
TypeScript
/**
* Safe chained function
*
* Will only create a new function if needed,
* otherwise will pass back existing functions or null.
*
* @param {function} functions to chain
* @returns {function|null}
*/
declare function createChainedFunction(...funcs: any[]): any;
export default createChainedFunction;