Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
Closes #266
  • Loading branch information
jberkel committed Mar 15, 2017
1 parent 47e109a commit c0dbbfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ For example, to give queries access to [`MobileCoreServices.UTTypeConformsTo`](h
``` swift
import MobileCoreServices

let typeConformsTo: (Expression<String>, String) -> Expression<Bool> = (
let typeConformsTo: (Expression<String>, Expression<String>) -> Expression<Bool> = (
try db.createFunction("typeConformsTo", deterministic: true) { UTI, conformsToUTI in
return UTTypeConformsTo(UTI, conformsToUTI)
}
Expand All @@ -1371,7 +1371,7 @@ let typeConformsTo: (Expression<String>, String) -> Expression<Bool> = (
Note `typeConformsTo`’s signature:

``` swift
(Expression<String>, String) -> Expression<Bool>
(Expression<String>, Expression<String>) -> Expression<Bool>
```

Because of this, `createFunction` expects a block with the following signature:
Expand Down

0 comments on commit c0dbbfc

Please # to comment.