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

Function isPatch

dash/dash-renderer/src/actions/patch.ts:25–27  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

23type PatchHandler = (previous: any, patchUpdate: PatchOperation) => any;
24
25export function isPatch(obj: any): boolean {
26 return has('__dash_patch_update', obj);
27}
28
29function getLocationIndex(value: LocationIndex, previous: any) {
30 if (is(Number, value) && value < 0) {

Callers 1

parsePatchPropsFunction · 0.85

Calls 1

hasFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…