How to check if a position has a type of tile

I am wondering how I receive the tile type of tile (like a Watertile, RoadTile, GrassTile, ect…) based on a Vector3 or Vector3Int. I think the way to do this is with Tilemap.GetTile but I cant figure out how to get it to work. An example would be greatly appreciated!

The easiest way is to make different tileset for each of them. If you need to make tiles with singular properties them I encorage you to use sprites instead.