Skip to content

Conversation

@devajmeireles
Copy link
Contributor

This PR aims to introduce a method called has that can be used to check if a given configuration is set.

This is similar to get, the difference is that we apply a !== null to the obtained value.

@devajmeireles devajmeireles changed the title Added 'has' method to Settings class Added has method to Settings class Apr 22, 2025
Copy link
Member

@SRWieZ SRWieZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would make more sense to have an has endpoint on the electron part otherwise I don't see the benefit.

@simonhamp
Copy link
Member

Not sure we need all the type hints in docblocks when we have type hints in code... let's not duplicate

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

Successfully merging this pull request may close these issues.

3 participants