all_equal

sknano.core.all_equal(iterable)[source] [edit on github][source]

Returns True if all the elements are equal to each other.

Parameters:iterable (Iterable) –
Returns:
Return type:bool