indexIdentityFn function

Object? indexIdentityFn(
  1. num index,
  2. dynamic _
)

Function for use by NgFor for optionGroup to avoid recreating the DOM for the optionGroup.

Implementation

Object? indexIdentityFn(num index, dynamic _) => index;