diff options
author | praschke <stel@comfy.monster> | 2023-10-16 23:27:14 +0100 |
---|---|---|
committer | praschke <stel@comfy.monster> | 2023-10-17 22:45:36 +0100 |
commit | feec5af726a3094405586be6d755be562dbe497f (patch) | |
tree | ecda280896bb8d687d1981791f656ee81c137886 /docs/templates.md | |
parent | 881a7cd77d4894db490de274bf32119228137a21 (diff) |
docs: typeof
this shouldn't be used as a block helper, the result may be non-portable
Diffstat (limited to 'docs/templates.md')
-rw-r--r-- | docs/templates.md | 6 |
1 files changed, 3 insertions, 3 deletions
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. <details> <summary>Syntax:</summary> - <code>{{#typeof <i>value</i>}}{{/typeof}}</code><br> + <code>{{typeof <i>value</i>}}</code><br> <code>{{#typeof}}<i>value</i>{{/typeof}}</code><br> * _`value`_ <br> @@ -553,8 +553,8 @@ Returns the type of a value. <summary>Example:</summary> ```handlebars - {{#typeof "よみちゃん"}}{{/typeof}} - {{#typeof 1}}{{/typeof}} + {{typeof "よみちゃん"}} + {{typeof 1}} {{#typeof}}よみちゃん{{/typeof}} ``` |