silverwolf-x/project / packages /next /src /lib /is-edge-runtime.ts
silverwolf-x's picture
download
raw
260 Bytes
import type { ServerRuntime } from '../types'
import { SERVER_RUNTIME } from './constants'
export function isEdgeRuntime(value?: string): value is ServerRuntime {
return (
value === SERVER_RUNTIME.experimentalEdge || value === SERVER_RUNTIME.edge
)
}

Xet Storage Details

Size:
260 Bytes
·
Xet hash:
b237938f3a926397e70007e1184acaef3ddfca7591ea19bf8bd11b982b88ec27

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.