Skip to content

Commit

Permalink
Merge pull request microsoft#2076 from microsoft/Danieladu-patch-2
Browse files Browse the repository at this point in the history
Update Functions-injected-from-LG.md
  • Loading branch information
Danieladu authored Dec 19, 2019
2 parents 68875f9 + cba1f04 commit 8e72abf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ And it returns a herocard:
Return the evaluated result of given template name and scope.

```
template(<templateName>, <scope>)
template(<templateName>, '<param1>', '<param2>', ...)
```

| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| <*templateName*> | Yes | String | A string represents the template name |
| <*scope*> | Yes | Object | The scope to pass parameters to the template |
| <*param1*>,<*param2*>, ... | Yes | Object | The parameters passed to the template |
|||||

| Return value | Type | Description |
Expand All @@ -132,7 +132,7 @@ Suppose we have template:
```

```
template("welcome", { userName = "DL" })
template("welcome", "DL")
```

And it returns one of these results:
Expand Down Expand Up @@ -239,4 +239,4 @@ And it returns the result:

```
false
```
```

0 comments on commit 8e72abf

Please sign in to comment.