isDisabledIn<T> static method

bool isDisabledIn<T>(
  1. Object model,
  2. T item, [
  3. bool defaultIfMissingInterface = false
])

Returns whether model has item as a SelectableOption.Disabled.

Implementation

static bool isDisabledIn<T>(
  Object model,
  T item, [
  bool defaultIfMissingInterface = false,
]) {
  return _isOptionCheck(
    model,
    item,
    SelectableOption.Disabled,
    defaultIfMissingInterface,
  );
}