Skip to content

Commit

Permalink
add to language reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr committed Sep 6, 2024
1 parent 4b32c27 commit 6fc4860
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/api/05-language-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -591,10 +591,12 @@ the following properties (given an example intrinsic `@x`):
| --------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `@log()` | logs str |
| `@assert()` | checks a condition and _throws_ if evaluated to false |
| `@dirname` | current source directory |
| `@filename` | absolute path of the source file |
| `@dirname` | absolute path of the source file's directory |
| `@app` | the root of the construct tree |
| `@unsafeCast()` | cast a value into a different type |
| `@nodeof()` | obtain the [tree node](/docs/concepts/application-tree) of a preflight object |
| `@lift()` | explicitly qualify a [lift](/docs/concepts/inflights) of a preflight object |
| `@nodeof()` | obtain the [tree node](/docs/concepts/application-tree) of a preflight object |
| `@lift()` | explicitly qualify a [lift](/docs/concepts/inflights) of a preflight object |
> ```TS
> @log("Hello {name}");
Expand Down

0 comments on commit 6fc4860

Please sign in to comment.