MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isFallbackCompositionStart

Function isFallbackCompositionStart

code/redux/public/app.js:3480–3482  ·  view source on GitHub ↗

* Does our fallback best-guess model think this event signifies that * composition has begun? * * @param {string} topLevelType * @param {object} nativeEvent * @return {boolean}

(topLevelType, nativeEvent)

Source from the content-addressed store, hash-verified

3478 * @return {boolean}
3479 */
3480function isFallbackCompositionStart(topLevelType, nativeEvent) {
3481 return topLevelType === 'topKeyDown' && nativeEvent.keyCode === START_KEYCODE;
3482}
3483
3484/**
3485 * Does our fallback mode think that this event is the end of composition?

Callers 1

extractCompositionEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected