@crustack/utilsisServerIndicates whether or not the code is running on the server. import { isServer } from '@crustack/utils' if (isServer) { // the code is running on the server } else { // the code is running on the client }invariantCatch runtime errors early by asserting expected conditions.keysOfNext Page