export const checkHasAnotherPage = ( v: T, cursor: string | undefined, ) => (typeof v === 'undefined' && typeof cursor === 'undefined') || typeof cursor === 'string';