Shortcuts

mmengine.utils.is_list_of

mmengine.utils.is_list_of(seq, expected_type)[源代码]

Check whether it is a list of some type.

A partial method of is_seq_of().