grogupy._core.arrays_None_equal

grogupy._core.arrays_None_equal(array1: Any, array2: Any) bool[source]

Compares two objects with specific rules.

if the objects are not arrays or None, then it returns False. Otherwise it compares the arrays.

Parameters

array1: Any

The first object to compare

array2: Any

The second object to compare

Returns

bool:

Wether the above described structures are equal