If the function is called without any arguments, get_endpoint_url()
will output a list with all of the implemented endpoints.
However, the function accepts a single string value with the name of,
a specific endpoint. In this case, get_endpoint_url()
will
output a single string with the endpoint you selected. Is worth
mentioning, that this string must be one of the values present
in figma::implemented_endpoints
.
If the user provided any type of value that does
not fit in this description, the function
will prompt the user with an error message.