1 2 3 4 5 6 7
export const hasQueryParameter = param => ( decodeURIComponent(window.location.search.substring(1)).includes(param) ); export default { hasQueryParameter };