error-if-index-is-negative

esm
Function triggers error if a given index is a negative number, meaning the item was not found in the array.
Version 2.0.0 License MIT
Keywords
arrayindexvalidationcheckingerrormessage
INSTALL
Function triggers error if a given index is a negative number, meaning the item was not found in the array.