vituarvom / react-smart-utils

A simple, smart hooks and utility functions to make development easier
https://www.npmjs.com/package/react-smart-utils
13 stars 34 forks source link

isFunction #36

Open bharat-dussa opened 2 months ago

bharat-dussa commented 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

Parameters:

Returns:

Example:


isFunction(() => {});  // true
isFunction(function() {}); // true
isFunction(123);        // false
isFunction('Hello');    // false
isFunction(null);       // false
snehadomal commented 2 months ago

i want solve this issue please assign mee @bharat-dussa

shirishabolli commented 1 month ago

plz assign me this issue

Dinesh7864 commented 1 month ago

@bharat-dussa Plz assign this task to me