dynamic_extensions.dart 980 Bytes
import '../regex/get_utils.dart';

extension GetDynamicUtils on dynamic {
  /// It's This is overloading the IDE's options. Only the most useful and popular options will stay here.

  bool get isNull => GetUtils.isNull(this);
  bool get isNullOrBlank => GetUtils.isNullOrBlank(this);

  // bool get isOneAKind => GetUtils.isOneAKind(this);
  // bool isLengthLowerThan(int maxLength) =>
  //     GetUtils.isLengthLowerThan(this, maxLength);
  // bool isLengthGreaterThan(int maxLength) =>
  //     GetUtils.isLengthGreaterThan(this, maxLength);
  // bool isLengthGreaterOrEqual(int maxLength) =>
  //     GetUtils.isLengthGreaterOrEqual(this, maxLength);
  // bool isLengthLowerOrEqual(int maxLength) =>
  //     GetUtils.isLengthLowerOrEqual(this, maxLength);
  // bool isLengthEqualTo(int maxLength) =>
  //     GetUtils.isLengthEqualTo(this, maxLength);
  // bool isLengthBetween(int minLength, int maxLength) =>
  //     GetUtils.isLengthBetween(this, minLength, maxLength);
}