np_all_int

PlasmaCalcs.tools.math.np_all_int(x)

returns whether all values in x are integer-valued. (regardless of x’s type).

Equivalent: np.all(np.mod(x, 1) == 0)