CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
isFunction.d.mts17 linesDownload Raw Back to predicate
1/**2 * Checks if `value` is a function.3 *4 * @param {any} value The value to check.5 * @returns {boolean} Returns `true` if `value` is a function, else `false`.6 *7 * @example8 * isFunction(Array.prototype.slice); // true9 * isFunction(async function () {}); // true10 * isFunction(function* () {}); // true11 * isFunction(Proxy); // true12 * isFunction(Int8Array); // true13 */14declare function isFunction(value: any): value is (...args: any[]) => any;15 16export { isFunction };17 
basant307/AI_Governance_Project · CoolFace