From feec5af726a3094405586be6d755be562dbe497f Mon Sep 17 00:00:00 2001 From: praschke Date: Mon, 16 Oct 2023 23:27:14 +0100 Subject: docs: typeof this shouldn't be used as a block helper, the result may be non-portable --- docs/templates.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/templates.md b/docs/templates.md index b99702b3..f5eeb95e 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -543,7 +543,7 @@ Returns the type of a value.
Syntax: - {{#typeof value}}{{/typeof}}
+ {{typeof value}}
{{#typeof}}value{{/typeof}}
* _`value`_
@@ -553,8 +553,8 @@ Returns the type of a value. Example: ```handlebars - {{#typeof "よみちゃん"}}{{/typeof}} - {{#typeof 1}}{{/typeof}} + {{typeof "よみちゃん"}} + {{typeof 1}} {{#typeof}}よみちゃん{{/typeof}} ``` -- cgit v1.2.3