protein serine/threonine phosphatase inhibitor activity
Binds to and stops, prevents or reduces the activity of a serine/threonine protein phosphatase, an enzyme that catalyzes the reaction: protein serine/threonine phosphate + H2O = protein serine/threonine + phosphate.
GO:0004865 · molecular function · an activity a gene product carries out, not a process it takes part in