Is the Canon RF-S 10-18mm F4.5-6.3 IS STM Lens sharp? This page visually answers that question. Shown above are 100% crops from a lab-captured 10mm f/4.5 test image. Observe the contrast and resolution of these results.
Is the Canon RF-S 10-18mm F4.5-6.3 IS STM Lens set to 10mm f/4.5 sharper than the Canon EF-M 11-22mm f/4-5.6 IS STM Lens set to 11mm f/4.0? The image quality comparison above also answers that question. Switch between the results to see the sharpness differences between these lenses.