ServiceNow: Check for duplicates in an array
Use cases
Check if an array contains duplicate values
Options / Tools to achieve this
every()
some()
filter()
more will be added soon
How To - Details:
1. Use every() with indexOf()
/*
** @param (string) element - current element that is being ...
grow2dev.hashnode.dev2 min read
Singh J.
Please add more to this Thanks