title: Need a better way to compare multiple values against a property and return true;
body: <p>I am looking for a standard / best practice for scenarios where I need to check the same property of an object against a list of values returning true if any of the values match the property.  </p>
  
  <p>Currently the code resembles this (I didn't write it, I am looking to refactor it)...</p>
  
  <pre><code>if (object.property == "string1"
                      || object.property == "string2"
                      || object.property == "string3"
                          || object.property == "string4"
                          || object.property == "string5"
                                  || object.property == "string6"
                                  || object.property == "string7"
                                      || object.property == "string8"
                                       || object.property == "string9"
                                          || object.property == "string10"
                                          || object.property == "string11"
                                              || object.property == "string12"
                                              || object.property == "string13"
                                                  || object.property == "string14"
                                                  || object.property == "string15")
  </code></pre>