math.isinf(), math.isnan() and math.isfinite() are undocumented
Affected URL: https://create.roblox.com/docs/reference/engine/libraries/math
math.isinf(), math.isnan() and math.isfinite() are undocumented
Affected URL: https://create.roblox.com/docs/reference/engine/libraries/math
Created a pull request with the proper documentation for these functions:
These functions pretty much do exactly what they sound like but for reference:
math.isinf() returns whether the provided number is infinite or not (i.e. math.huge would evaluate to true).math.isfinite() returns whether the provided number is finite or not (any number that is not infinite or NaN).math.isnan() returns whether the provided number evaluated to NaN or not (0/0 would return true).Thanks for reporting and for the PR, everyone. This should be resolved here: https://create.roblox.com/docs/reference/engine/libraries/math#isfinite