MandelbrotSetDistance
MandelbrotSetDistance[c] estimates the distance from c to the nearest point in the Mandelbrot set.
MandelbrotSetDistance[c,"Interior"] estimates the distance from c to the nearest point in the complement of the Mandelbrot set.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.