Skip to content

Commit 8cbc41c

Browse files
committed
Change heading level
1 parent 5d86044 commit 8cbc41c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/builtins/Repl/typecheck.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# typecheck
1+
## typecheck
22

33
Use `typecheck` to run the Pact static type checker on a specified `module` name.
44

5-
## Basic syntax
5+
### Basic syntax
66

77
To run the static type checker on a specified `module` name, use the following syntax:
88

99
```pact
1010
(typecheck module)
1111
```
1212

13-
## Arguments
13+
### Arguments
1414

1515
Use the following argument when calling the `typecheck` function:
1616

1717
| Argument | Type | Description |
1818
|----------|------|-------------|
1919
| `module` | string | Specifies the name of the module to run the static type checker on. |
2020

21-
## Return value
21+
### Return value
2222

2323
If type checking for the module is successful, the `typecheck` function returns the unit value `()`.
2424
If type checking fails, the function returns an error.
2525

26-
## Examples
26+
### Examples
2727

2828
The following example demonstrates a simple `.repl` file with the module declaration for a `rewards` module that then calls the static type checker to check the `rewards` module:
2929

0 commit comments

Comments
 (0)