MCPcopy
hub / github.com/pmndrs/react-spring / findDefined

Function findDefined

packages/core/src/SpringValue.ts:1132–1134  ·  view source on GitHub ↗

Find keys with defined values

(values: Lookup, keys: Set<string>)

Source from the content-addressed store, hash-verified

1130
1131/** Find keys with defined values */
1132function findDefined(values: Lookup, keys: Set<string>) {
1133 eachProp(values, (value, key) => value != null && keys.add(key as any))
1134}
1135
1136/** Event props with "active handler" support */
1137const ACTIVE_EVENTS = [

Callers 1

createUpdateFunction · 0.85

Calls 2

eachPropFunction · 0.90
addMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…