A method that gets the value of a property.
"In object-oriented programming, a getter allows controlled access to the private properties of a class."
— @github · February 22, 2024