4 lines
132 B
TypeScript
4 lines
132 B
TypeScript
import hash, { NotUndefined } from "object-hash";
|
|
|
|
export const heq = (a: NotUndefined) => (b: NotUndefined) => hash(a) == hash(b);
|