Hadn’t is defined as a contraction of had not.
(contraction)An example of hadn’t is when you overeat and say, “I wish I hadn’t eaten that third slice of pie.”
See hadn't in Webster's New World College Dictionary
See hadn't in American Heritage Dictionary 4