본문으로 건너뛰기

List.AllTrue

모든 식이 true일 경우 true를 반환합니다.

Syntax

List.AllTrue(
list as list
) as logical

Remarks

list 목록의 모든 식이 true일 경우 true를 반환합니다.

Examples

Example #1

{true, true, 2 > 0} 목록의 모든 식이 true인지 여부를 확인합니다.

List.AllTrue({true, true, 2 > 0})

Result:

true

Example #2

{true, true, 2 < 0} 목록의 모든 식이 true인지 여부를 확인합니다.

List.AllTrue({true, false, 2 < 0})

Result:

false

Category

List.Membership functions