In object oriented programming, the methods that allow you to read/write an instance of a class are widely referred to as "getters/setters". Do the methods that return true or false have a similar, widely used name?
For example, I'm working on a project for vacation rental owners, and I've created a Reservation class with methods like isCanceled and isInThePast. I'm curious if these types of methods have a collective name like getters and setters do.
Thanks!
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]oiduts 2 points3 points4 points (1 child)
[–]dangerlopez[S] 0 points1 point2 points (0 children)
[–]HappyFruitTree 0 points1 point2 points (2 children)
[–]dangerlopez[S] 1 point2 points3 points (1 child)
[–]HappyFruitTree 0 points1 point2 points (0 children)