You need to use ; when splatting kwargs.
leaq(a, b; kwargs...) = (a <= b) || isapprox(a, b; kwargs...)
What you wrote tres to splat kwargs as positional arguments.
You need to use ; when splatting kwargs.
leaq(a, b; kwargs...) = (a <= b) || isapprox(a, b; kwargs...)
What you wrote tres to splat kwargs as positional arguments.