Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properties.Get documentation is incorrect #30

Closed
scw007 opened this issue Aug 20, 2023 · 1 comment
Closed

Properties.Get documentation is incorrect #30

scw007 opened this issue Aug 20, 2023 · 1 comment

Comments

@scw007
Copy link

scw007 commented Aug 20, 2023

// passed name (propName) doesn't exist, Get will return nil.

The comment says that Get returns nil, but it definitely does not. It seems like this is the only way to set a property initially. So either the docs here are wrong, or its intended to set properties a different way?

I would have gone ahead and opened a PR to fix the doc, but I wasn't sure what the intention was.

@SolarLune
Copy link
Owner

Whoops, my bad - you're right on that. I've updated the documentation to be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants