---
title: "Discussion on \"Naming functions that returns a Boolean\" | Hashnode"
description: "Discussion on \"Naming functions that returns a Boolean\". Among the things that are hard in programming, naming a function or variable takes the top place.\nIn case you are writing a function that returns a Boolean, prefixing the method name using is or can or should is a great idea. Here are some examples.\n..."
url: "https://hashnode.com/posts/naming-functions-that-returns-a-boolean/667a6aeae68733b667d3ada0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Naming functions that returns a Boolean](https://gokhale.me/naming-functions-that-returns-a-boolean?utm_source=hashnode&utm_medium=feed)

Among the things that are hard in programming, naming a function or variable takes the top place. In case you are writing a function that returns a Boolean, prefixing the method name using is or can or should is a great idea. Here are some examples. ...

Jun 25, 2024 · 2 min read · gokhale.me  
Read the article

-   [#development](https://hashnode.com/tag/development)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Sandeep Gokhale](https://hashnode.com/@gokhale)

@gokhale · Bengaluru

  
[View profile](https://hashnode.com/@gokhale)

Entrepreneur, Founder, Mentor. Also runs a Registered NGO | sandeepgokhale.com

Entrepreneur, Founder, Mentor. Also runs a Registered NGO. Visit my website: sandeepgokhale.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
