Open bharat-dussa opened 2 months ago
isFunction
Checks if the provided value is a function.
File: src/utils/function/isFunction/isFunction.ts Test File: src/utils/function/isFunction/isFunction.test.ts
src/utils/function/isFunction/isFunction.ts
src/utils/function/isFunction/isFunction.test.ts
Parameters:
value: any
Returns:
boolean
true
false
Example:
isFunction(() => {}); // true isFunction(function() {}); // true isFunction(123); // false isFunction('Hello'); // false isFunction(null); // false
i want solve this issue please assign mee @bharat-dussa
plz assign me this issue
@bharat-dussa Plz assign this task to me
isFunction
Checks if the provided value is a function.
File:
src/utils/function/isFunction/isFunction.ts
Test File:src/utils/function/isFunction/isFunction.test.ts
Parameters:
value: any
: The value to check.Returns:
boolean
: Returnstrue
if the value is a function, otherwise returnsfalse
.Example: