I have a solid state drive and I need to format one partition (Windows

). I thought doing a low-level clearing of blocks would be better than a standard formatting that is unaware of SSDs.
The recommended utility to do what I described seems to be blkdiscard. I have only found one
good example of its use, but it is straight-forward. It seems also to have risks (i.e. manual computation/obtaining of bytes to clear).
Yet, I also came across mentions that contemporary partitioning tools already use SSD TRIM-commands (which I think is what blkdiscard also uses?). I haven't found any definitive confirmations; I've even come across mentions that gdisk does it in the old platter-disk way. So, could someone definitely confirm, that using parted or gdisk performs the same cell clearing as blkdiscard? I would prefer using those programs, because they leave less room for me to fumble.