IsPropertyModified documentation says true instead of false

The documentation says:

Returns true if the value stored in the specified property is equal to the code‑instantiated default.

Actually, this function returns false if the value is equal to the code-instantiated default, and true otherwise. This should be revised to say either:

Returns false if the value stored in the specified property is equal to the code‑instantiated default.

Or:

Returns true if the value stored in the specified property is not equal to the code‑instantiated default.

Page URL: https://create.roblox.com/docs/reference/engine/classes/Instance#IsPropertyModified

Provide a reproduction steps, ie; With (X Instance) (Y Property) is saying true when expected result should be false.

Hi @asadefa ,
Valid point that the previous description was confusing as written. I’ve updated the docs to indicate that this property can vary depending on whether the instance is “code-instantiated” as if from a script or the Command Bar, versus whether the instance is inserted through Studio workflows like the Explorer or UI tab (in which case certain known and familiar defaults are applied, such as a Frame of 100x100px with a white background).

https://create.roblox.com/docs/en-us/reference/engine/classes/Instance#IsPropertyModified

Take care,
IgnisRBX

Thanks, the new wording is better.