hasContainsProperty function

bool hasContainsProperty(
  1. dynamic value
)

Check if a value has a contains property.

Implementation

bool hasContainsProperty(dynamic value) {
  return value is String || value is Iterable || value is Set;
}