Enum:FromValue() and Enum:FromName() have incorrect signatures

The Enum datatype has the methods :FromValue(number) and :FromName(string) for converting to an EnumItem from the value or name respectively. The creator hub incorrectly documents these functions as accepting no arguments when they each accept one argument.

Function signatures are correct in studio:
SWCWaEm2Zh
wcpPoVrgeM

Page URL: https://create.roblox.com/docs/reference/engine/datatypes/Enum#FromValue

Hello @UpliftMacaw!

Thanks for flagging this issue - I just put in a change to add these params to the docs and they should be out in our next publish (<24 hours probably).

Appreciate your help in flagging these inconsistencies. Have a great rest of your week!
naahchos

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.