Skip to main content
Module

x/obsidian/src/normalize.ts>isHashableObject

GraphQL, built for Deno - a native GraphQL caching client and server module
Latest
variable isHashableObject
import { isHashableObject } from "https://deno.land/x/obsidian@v8.0.0/src/normalize.ts";

isHashableObject - Returns a boolean indicating that the passed in value is hashable. It must:

  1. Contain hashable object
  2. Does not have any nesting (i.e., contains no objects or array values)

type

(objectInQuestion: any, hashableKeys: Array<string>) => boolean