Eliseo76 / truthy

Intermediate Algorithm Scripting: Everything Be TruePassed Check if the predicate (second argument) is truthy on all elements of a collection (first argument). In other words, you are given an array collection of objects. The predicate pre will be an object property and you need to return true if its value is truthy. Otherwise, return false. In JavaScript, truthy values are values that translate to true when evaluated in a Boolean context. Remember, you can access object properties through either dot notation or [] notation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository is not active

About

Intermediate Algorithm Scripting: Everything Be TruePassed Check if the predicate (second argument) is truthy on all elements of a collection (first argument). In other words, you are given an array collection of objects. The predicate pre will be an object property and you need to return true if its value is truthy. Otherwise, return false. In JavaScript, truthy values are values that translate to true when evaluated in a Boolean context. Remember, you can access object properties through either dot notation or [] notation.


Languages

Language:JavaScript 100.0%