---
title: "#semi-predicate articles | Hashnode"
description: "Explore 1 articles tagged #semi-predicate on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/semi-predicate"
---

Tag

# #semi-predicate

1 posts · 0 followers

[Philicare](https://hashnode.com/@philicare) · [Dec 2, 2025](https://hashnode.com/posts/semi-predicate-methods/692eaac1d662d584fcc23ffe)

### [Semi-predicate methods](https://langage-ruby.hashnode.dev/semi-predicate-methods?utm_source=hashnode&utm_medium=feed)

In many languages, “predicates” are methods that return either true or false. In Ruby, they’re traditionally marked with a trailing question mark. def are\_you\_ok? if yes true else false end end This question mark is only a convention. ...

1 min read · [langage-ruby.hashnode.dev](https://langage-ruby.hashnode.dev/semi-predicate-methods?utm_source=hashnode&utm_medium=feed)
