is_iterable

nrv.backend.is_iterable(some_stuff)[source]

this function chels wether or not a variable contains an iterrable

Parameters:

some_stuff – variable to check

Return type:

False if a string or a number, True if iterrable (table, dict, tupple, numpy array…)