/** * Safe chained function * * Will only create a new function if needed, * otherwise will pass back existing functions or null. * * @returns {function|null} */ export default function createChainedFunction(...args: any[]): Function | null;