MCPcopy Index your code
hub / github.com/danielstocks/react-sortable / hasValidKey

Function hasValidKey

bundle.js:1610–1620  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

1608 }
1609
1610 function hasValidKey(config) {
1611 {
1612 if (hasOwnProperty.call(config, 'key')) {
1613 var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
1614 if (getter && getter.isReactWarning) {
1615 return false;
1616 }
1617 }
1618 }
1619 return config.key !== undefined;
1620 }
1621
1622 function defineKeyPropWarningGetter(props, displayName) {
1623 var warnAboutAccessingKey = function warnAboutAccessingKey() {

Callers 1

bundle.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected