Removing unused data in Docker

I have these commands defined in a Makefile for removing unused Docker data:

docker image prune -f
docker container prune -f
docker network prune -f

I’ve noticed that there’s also docker system prune.

prune       Remove unused data

Is it equivalent to running the above three commands?

Source: StackOverflow