From 54df9acca011d7b3dc09495d20bc3ce163e3a6fb Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 23 Nov 2020 11:28:14 -0500 Subject: [PATCH] adjust docs --- site/content/docs/03-run-time.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ```