Function
areMixinsConvertible
(mixinIdentifierNames, classPath)
Source from the content-addressed store, hash-verified
| 351 | }; |
| 352 | |
| 353 | const areMixinsConvertible = (mixinIdentifierNames, classPath) => { |
| 354 | if ( |
| 355 | ReactUtils.directlyHasMixinsField(classPath) && |
| 356 | !ReactUtils.directlyHasSpecificMixins(classPath, mixinIdentifierNames) |
| 357 | ) { |
| 358 | return false; |
| 359 | } |
| 360 | return true; |
| 361 | }; |
| 362 | |
| 363 | // --------------------------------------------------------------------------- |
| 364 | // Collectors |
Tested by
no test coverage detected