Documentation lists multiple versions of the same function
Posted: Mon Sep 28, 2020 11:22 am
I am very confused about some of the documentation which lists more that one version of a function. To my knowledge, Lua functions can be variadic, but there is only one version of each.
For example, the documentation for love.graphics.newFont (https://love2d.org/wiki/love.graphics.newFont), lists 4 different versions. How do I determine which one my code will use?
For example, the documentation for love.graphics.newFont (https://love2d.org/wiki/love.graphics.newFont), lists 4 different versions. How do I determine which one my code will use?