src/utils/objectTypes.js
function isComponentWillChange(oldValue, newValue) {
    const oldType = getObjectType(oldValue);
    const newType = getObjectType(newValue);
    return ((oldType === 'Function' || newType === 'Function') && newType !== oldType);
}
function isComponentWillChange(oldValue, newValue) {
    const oldType = getObjectType(oldValue);
    const newType = getObjectType(newValue);
    return ((oldType === 'Function' || newType === 'Function') && newType !== oldType);
}
function isComponentWillChange ( oldValue , newValue ) { const oldType = getObjectType ( oldValue ) ; const newType = getObjectType ( newValue ) ; return ( ( oldType === 'Function' || newType === 'Function' ) && newType !== oldType ) ; }
Is Component will change ?
@param oldValue {*} old value
@param newValue {*} new value
@returns {boolean} result
Is Component will change ?