UNPKG

@auth0/nextjs-auth0

Version:
6 lines (5 loc) 163 B
export const isRequest = (req) => { return (req instanceof Request || req.headers instanceof Headers || typeof req.bodyUsed === "boolean"); };