commandIsCollection function

bool commandIsCollection(
  1. List args
)

Function of type_is_cl command

Implementation

bool commandIsCollection(List args) {
  final a = expEval(args[0]);
  return (a is List) || (a is Map);
}