Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function hasFocusInPath(path, value) {
return path.length === 1 && PathUtils.isSegmentEqual(path[0], pathSegmentFrom(value))
}
const IGNORE_KEYS = ['_key', '_type', '_weak']