export const isRefObject = (ref: React.ForwardedRef): ref is React.MutableRefObject => ref !== null && 'current' in ref