You asked

Is a used leica m typ 240 worth buying for a rangefinder kit with a 21mm lens?

The Leica M (Typ 240) is a sound used buy if you want a full-frame rangefinder. The camera's page notes it is the first M with a CMOS sensor, live view and video, and its 24-megapixel full-frame sensor frames lenses as marked, so a 21mm lens gives you a true 21mm view. The body has no stabilisation, so for dim scenes a fast lens matters more than steadiness.

This site's guide has no checked price for this body or these lenses, so it can't tell you whether a given used price is fair. Check current listings against the shops before you commit.

For a 21mm lens on this body, the guide's pick is the fastest one you can afford:

The buying used page makes the case for the body: one or two generations old is often most of the camera for much less money. Lenses hold their value better than bodies, so a lens bought used is the safer place to spend, as the what holds its value section explains.

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}.