IsNotEmpty constructor

IsNotEmpty()

Implementation

IsNotEmpty()
  : super(
      methodName: "isNotEmpty",
      targetType: .list,
      arity: 0,
      function: (target, _, arguments) {
        return target.isNotEmpty;
      },
    );