You asked
How does the ttartisan 40mm compare with a dedicated macro lens for a fujifilm x t30 ii?
The TTArtisan AF 40mm f/2 isn't a good fit for this camera. The guide lists it as a prime for full-frame cameras, and it doesn't appear among the lenses that fit the Fujifilm X-T30 II. Since the X-T30 II uses an APS-C sensor, the guide can't confirm how the 40mm would frame or perform on it, so it's best to set it aside for this body.
For close-up work on the X-T30 II, the guide's closest option is the Fujifilm XF 30mm f/2.8 R LM WR Macro. It's a native Fujifilm X-mount lens, so it's a straightforward pairing with the body. It frames like about 45mm on full frame, which suits close subjects and portraits. Its f/2.8 maximum aperture is slower than the f/2 of the 40mm, so you'll need more light or a higher ISO. The guide also lists the Voigtländer Macro APO-Ultron 35mm f/2, which is a longer macro-capable prime for the X mount and frames like 52mm on full frame.
The guide doesn't have price data for these lenses in this answer, so check each lens page's "Price in France" section for current prices and shop links. Prices change.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.