isNotNull static method

bool isNotNull(
  1. dynamic value
)

验证参数是否为空

Implementation

static bool isNotNull(value) {
  return value != null && value.toString().trim().length > 0;
}