GetEnumeratedObjectCount static method

int GetEnumeratedObjectCount(
  1. Iterable objects
)
Gets the enumerated object count. The objects.

Implementation

static int GetEnumeratedObjectCount(Iterable objects) {
  int count = 0;

  for (Object obj in objects as Iterable<Object>) {
    count++;
  }

  return count;
}