def IsList(value):
return isinstance(value, list) or isinstance(value, Array[str])
#all of the below will throw errors if the conversion is not possible
#this behaviour is intended and should be caught in the calling function
#which should report errors at runtime or in the log
评论列表
文章目录