UNPKG

sussy-util

Version:
10 lines (9 loc) 416 B
/** * Calls the given function with the provided parameters if it is a valid function. * * @param {any} func - The function to call. * @param {...any} params - The parameters to pass to the function. * @returns {any|null} The result of the function call or null if the provided func is not a valid function. */ declare const _default: (func: unknown, ...params: unknown[]) => unknown; export default _default;