import { isObjectLike } from "https://deno.land/x/scaffold@0.3.0/src/deps/npm.ts";
Returns whether the payload is an object like a type passed in < >
Usage: isObjectLike<{id: any}>(payload) // will make sure it's an object and has an id
prop.
import { isObjectLike } from "https://deno.land/x/scaffold@0.3.0/src/deps/npm.ts";
Returns whether the payload is an object like a type passed in < >
Usage: isObjectLike<{id: any}>(payload) // will make sure it's an object and has an id
prop.