Passing a scalar to map
should throw an InvalidArgumentException
#28
Labels
Projects
map
should throw an InvalidArgumentException
#28
When for example an array is passed to
map
,get_class
will trigger an error. It would be better to check the type and throw anInvalidArgumentException
if needed. In the future, we could add mappings from scalars (such as arrays, #18)The text was updated successfully, but these errors were encountered: