UNPKG

@storm-stack/types

Version:

⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.

10 lines (9 loc) 232 B
import { isObject } from "./is-object.mjs"; import { isSet } from "./is-set.mjs"; export const isTyped = (value) => { try { return isSet(value) && isObject(value) && "__typename" in value; } catch { return false; } };