Skip to content

Commit 7eefd54

Browse files
sgrowefacebook-github-bot
authored andcommitted
[PR] Docs: Fix predicate functions anchor link
Summary: Usually clicking the `#` symbol next to a heading in the docs links to that section. However this is broken for the "Predicate functions" section on https://flow.org/en/docs/types/functions/ Closes facebook#5783 Differential Revision: D7423666 Pulled By: mroch fbshipit-source-id: c94d9fde40df8fde064dfaf2a06e339d028d8296
1 parent c2beae2 commit 7eefd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/en/docs/types/functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ var num: number = method.call(42);
213213
var str: string = method.call(42);
214214
```
215215

216-
### Predicate Functions <a class="toc" id="toc-function-checks" href="#toc-predicate-functions"></a>
216+
### Predicate Functions <a class="toc" id="toc-predicate-functions" href="#toc-predicate-functions"></a>
217217

218218
Sometimes you will want to move the condition from an `if` statement into a function:
219219

0 commit comments

Comments
 (0)