MCPcopy Index your code
hub / github.com/plotly/dash / isEquivalent

Function isEquivalent

components/dash-core-components/src/components/Input.tsx:25–26  ·  view source on GitHub ↗
(v1: number, v2: number)

Source from the content-addressed store, hash-verified

23const convert = (val: unknown) => (isNumeric(val) ? +val : NaN);
24
25const isEquivalent = (v1: number, v2: number) =>
26 v1 === v2 || (isNaN(v1) && isNaN(v2));
27
28const inputProps = [
29 'type',

Callers 1

InputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…