WiFi.begin() not correctly/clearly documented

About the WiFi.begin() reference:

It is unclear for the newbies to tell if this WiFi.begin() command compiles for the arduino uno without any relation to a ESP32 or with/without any relation with any kind of wireless communication.

It is not stated that you need to use a third device like an ESP32, a newbie may think he can connect to the wifi with the arduino uno.

It is also not mentioned that in order to use it for an ESP, you dont need to: #include <WiFi.h>, cause it wont work or it may not work (in my case at least using this library didnt help).
you need a separate library (which you will need to download and install):
#include <ESP8266mDNS.h>

There is a whole ESP8266 Forum for that device.

...R

Basilisvirus:
About the WiFi.begin() reference:
WiFi - Arduino Reference

It is a page of the reference for the WiFi library of the Arduino WiFi shield