static validateSlotValue(value, slotData) {
      return validateSingleSlot(value, slotData);
    }
Validates the slot's value and returns it if correct
or throws an exception if not.
<b>Note:</b> Only intended for use by UI5Element.js
@pubic