numpy function to check if two arrays are equal code example Example: check if numpy arrays are equal (A==B).all()