Skip to content

Instantly share code, notes, and snippets.

View IvanRadchenko's full-sized avatar

DanseMacabre IvanRadchenko

  • Berlin
View GitHub Profile
import {
Dispatch,
SetStateAction,
useCallback,
useEffect,
useState,
} from 'react';
const isFunction = (fn: unknown): fn is Function => (typeof fn === 'function');