lib/rules/key-spacing.js
function isKeyValueProperty(property) {
            return !(
                (property.method ||
                property.shorthand ||
                property.kind !== "init" || property.type !== "Property") // Could be "ExperimentalSpreadProperty" or "SpreadElement"
            );
        }
function isKeyValueProperty(property) {
            return !(
                (property.method ||
                property.shorthand ||
                property.kind !== "init" || property.type !== "Property") // Could be "ExperimentalSpreadProperty" or "SpreadElement"
            );
        }
function isKeyValueProperty ( property ) { return ! ( ( property . method || property . shorthand || property . kind !== "init" || property . type !== "Property" ) // Could be "ExperimentalSpreadProperty" or "SpreadElement" ) ; }
Determines if the given property is key-value property.
@param {ASTNode} property Property node to check.
@returns {boolean} Whether the property is a key-value property.
Determines if the given property is key - value property .