indexInRange method

int indexInRange(
  1. NSRange range, {
  2. required int options,
  3. required ObjCBlock<Bool Function(UnsignedLong, Pointer<Bool>)> passingTest,
})

indexInRange:options:passingTest:

Implementation

int indexInRange(
  NSRange range, {
  required int options,
  required objc.ObjCBlock<
    ffi.Bool Function(ffi.UnsignedLong, ffi.Pointer<ffi.Bool>)
  >
  passingTest,
}) {
  objc.checkOsVersionInternal(
    'NSIndexSet.indexInRange:options:passingTest:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 6, 0)),
  );
  return _objc_msgSend_6jmuyz(
    object$.ref.pointer,
    _sel_indexInRange_options_passingTest_,
    range,
    options,
    passingTest.ref.pointer,
  );
}