diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index 3c91a8de15..9238f1caba 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -181,19 +181,19 @@ Retrieves the context that belongs to the closest parent component with the spec #### `hasContext` ```js -hasContext(key: any) +hasContext: boolean = hasContext(key: any) ``` --- -Checks whether a given `key` has been set. Must be called during component initialisation. +Checks whether a given `key` has been set in the context of a parent component. Must be called during component initialisation. ```sv ```