Check If All Values are Strings using every()
checkAllStrings
that takes an array of objects as input, where each object has a value
property, and returns a boolean indicating whether all value
properties in the array are strings using the every()
method.