See the documentation, eg ?isapprox in the REPL. In particular,
xandymay also be arrays of numbers, in which casenormdefaults to the usual
normfunction in LinearAlgebra, but may be changed by passing anorm::Functionkeyword argument. (For numbers,normis the same thing asabs.) Whenxandyare arrays, ifnorm(x-y)is not finite (i.e.±InforNaN), the comparison falls back to checking whether all elements ofxandyare approximately equal component-wise.