logo
logo

Check If All Values are Strings using every()

Check If All Values are Strings using every()

Write a function
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.
Console
Submit
Solution
00:00