Function type

  • Returns the type of its only argument, coded as a string. Roblox datatypes will return "userdata" when passed to this function. You should use Roblox's typeOf() function if you want to differentiate between Roblox datatypes.

    Parameters

    • value: unknown

    Returns keyof CheckablePrimitives