arvindnsn
10 months agoContributor
Data Validator Pattern error
Hello, I am building an API that used PUT method to update a set of JSON data into my taget database. One of the contents of the PUT method is a boolean type that would receive ether a "true" or "...
- 2 years ago
You can try:
['ABC', 'AEC', AMT'].indexOf($src_name) != -1
['ANC', 'ABK', AGT'].indexOf($src_name) != -1
BR,
Spiro Taleski