use-mutable-source
Version:
Minimal and elegant way to integrate any library with React
9 lines (8 loc) • 327 B
TypeScript
/**
* Object.is polyfill taken from https://github.com/facebook/react/blob/main/packages/shared/objectIs.js
*
* @param x - first value to compare
* @param y - second value to compare
* @returns A Boolean indicating whether or not the two value are the same
*/
export declare function is(x: any, y: any): boolean;