Difference between revisions of "Array.isTrue()"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
istrue is all true will returns the result as true.Otherwise false. | istrue is all true will returns the result as true.Otherwise false. | ||
+ | |||
+ | [true,true,false].istrue() = false | ||
+ | |||
+ | [true,true,true].istrue() = true | ||
==See also== | ==See also== | ||
− | [[Array.isFalse()| | + | [[Array.isFalse()| isFalse]] |
Latest revision as of 04:07, 16 April 2020
Array.isTrue()
Checks if all the members in this array are true.
Same as Array.istrue()
istrue is all true will returns the result as true.Otherwise false.
[true,true,false].istrue() = false
[true,true,true].istrue() = true