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

Add hasContext lifecycle function #5690

Merged
merged 3 commits into from
Nov 23, 2020
Merged

Conversation

pushkine
Copy link
Contributor

Provides a safe way to check whether a key has been assigned in the context

Copy link
Member

@tanhauhau tanhauhau left a comment

Choose a reason for hiding this comment

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

care to update the docs to reflect this new api?

@Conduitry Conduitry merged commit 01ead95 into sveltejs:master Nov 23, 2020
@Conduitry
Copy link
Member

hasContext has been added in 3.30.0.

taylorzane pushed a commit to taylorzane/svelte that referenced this pull request Dec 17, 2020
@pushkine pushkine deleted the patch-7 branch January 21, 2021 19:55
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.

None yet

3 participants