countIf method

int countIf(
  1. TFuncPredicate1<T> predicate
)

Implementation

int countIf(TFuncPredicate1<T> predicate) {
	return this.sum((x) => predicate(x) ? 1 : 0);
}