Skip to content

Commit dafb737

Browse files
committed
Update API.txt
Correct isFull description (and grammar error).
1 parent 2b8ba27 commit dafb737

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

API.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ isShort:
2727
boolean indicating whether the string is a valid short Open Location Code
2828
or not.
2929

30-
A short Open Location Code is a sequence created by removing a even number
30+
A short Open Location Code is a sequence created by removing an even number
3131
of characters from a full Open Location Code. The resulting code must still
3232
include the separator character.
3333

@@ -36,8 +36,8 @@ isFull:
3636

3737
Not all possible combinations of Open Location Code characters decode to
3838
valid latitude and longitude values. This checks that a code is valid and
39-
also that the latitude and longitude values are legal. If the separator
40-
character is present, it must be after four characters.
39+
also that the latitude and longitude values are legal. Full codes must
40+
include the separator character and it must be after eight characters.
4141

4242
encode:
4343
Encode a location into an Open Location Code. This takes a latitude and

0 commit comments

Comments
 (0)