boolifyOrNull static method

bool? boolifyOrNull(
  1. dynamic value
)

If value is null - returns null. Otherwise - returns its truthy value (using EZ.boolify).

Implementation

static bool? boolifyOrNull(dynamic value) {
	if (value == null) {
		return null;
	}
	return EZ.boolify(value);
}