The meaningless value in dictionaries

Post Reply
curiosity
Filter Inserter
Filter Inserter
Posts: 400
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

The meaningless value in dictionaries

Post by curiosity »

Can it be false? If it can't, consider specifying the value type directly as true instead of boolean. If it can, mention that.

Bilka
Factorio Staff
Factorio Staff
Posts: 3218
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: The meaningless value in dictionaries

Post by Bilka »

Hey, all the dictionaries in the runtime docs that use true as "meaningless values" should already be documented as only containing true values, e.g. https://lua-api.factorio.com/latest/cla ... categories. If there are spots where that is not the case, please let us know the specific properties/methods.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

curiosity
Filter Inserter
Filter Inserter
Posts: 400
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: The meaningless value in dictionaries

Post by curiosity »

Hmm... Sorry, probably got confused with my coding setup, which is on 1.1.94. Could have sworn the site said "boolean" too when I checked...

Thank you, I will look forward to this change when I update.

Post Reply

Return to “Resolved Requests”