---
title: "Discussion on \"How to check if a value exists in an array?\" | Hashnode"
description: "Discussion on \"How to check if a value exists in an array?\". The quick and easy way in Javascript!"
url: "https://hashnode.com/posts/how-to-check-if-a-value-exists-in-an-array/62efd9e4ba649046e8d900fb"
---

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

Discussion

# [How to check if a value exists in an array?](https://dimitrios.hashnode.dev/how-to-check-if-a-value-exists-in-an-array?utm_source=hashnode&utm_medium=feed)

The quick and easy way in Javascript!

Aug 7, 2022 · 1 min read · dimitrios.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#search](https://hashnode.com/tag/search)
-   [#array](https://hashnode.com/tag/array)
-   [#exists](https://hashnode.com/tag/exists)
-   [#indexof](https://hashnode.com/tag/indexof)

## Written by

[Dimitris](https://hashnode.com/@Dimitrios)

@Dimitrios

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
