UNPKG

graphql-yoga

Version:

<div align="center"><img src="https://raw.githubusercontent.com/graphql-hive/graphql-yoga/refs/heads/main/website/public/cover.png" width="720" /></div>

5 lines (4 loc) 145 B
export function isResponse(value) { // @ts-expect-error - we want to check if it is a Response return value?.status && value?.headers; }