lib/ambush.js
function _isValidAmbushOnUpdate(id, object) {
	return _isValidObject(object) &&
		_isValidNotRequired(object.id, _isValidId) &&
		_isUniqueId(id, object.id) &&
		_isValidNotRequired(object.category, _isValidCategory) &&
		_isValidNotRequired(object.action, _isValidAction);
}
function _isValidAmbushOnUpdate(id, object) {
	return _isValidObject(object) &&
		_isValidNotRequired(object.id, _isValidId) &&
		_isUniqueId(id, object.id) &&
		_isValidNotRequired(object.category, _isValidCategory) &&
		_isValidNotRequired(object.action, _isValidAction);
}
function _isValidAmbushOnUpdate ( id , object ) { return _isValidObject ( object ) && _isValidNotRequired ( object . id , _isValidId ) && _isUniqueId ( id , object . id ) && _isValidNotRequired ( object . category , _isValidCategory ) && _isValidNotRequired ( object . action , _isValidAction ) ; }
Validates ambush function data object on update.

@param {string} id Ambush function id.
@param {Ambush} object Ambush function data.
@returns {bool} If it's valid or not.
Validates ambush function data object on update .