View as Markdown

API reference: @salmonui/core/data

shallowEqualfunction

import { shallowEqual } from '@salmonui/core/data';
function shallowEqual<T>(a: T, b: T): boolean;

Shallow equality for selector results: Object.is, or same keys/items with Object.is values.