corona-docs icon indicating copy to clipboard operation
corona-docs copied to clipboard

Docs: steamworks.isSteamDeck is a function, not a property

Open AleCGames opened this issue 5 months ago • 0 comments

The documentation says steamworks.isSteamDeck is a property that returns a boolean, but it’s actually a function that returns a boolean.

I checked it with type(steamworks.isSteamDeck) and it returns 'function'. If you use it like a property (if steamworks.isSteamDeck then ... end), it comes back true even on my PC, because that condition just checks that the function exists. But when I call it as a function (if steamworks.isSteamDeck() then ... end), it correctly returns false on PC (and should return true on a Deck).

Could you please update the docs to reflect that it’s a function, not a property?

AleCGames avatar Aug 30 '25 06:08 AleCGames