Skip to content

Commit 6aaa473

Browse files
committed
Update README
1 parent b8cafff commit 6aaa473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4215,7 +4215,7 @@ Here are some explanations for these.
42154215
Operations like `lua_isnumber`, `lua_pushinteger`, `lua_isstring` don't mean checking the value's type:
42164216
42174217
* Values with type `number` can also get true of `lua_isstring`. (Number is also string)
4218-
* There are no integer types in Lua. Values generated by `lua_pushinteger` has type `number`.
4218+
* There are no integer types in Lua. Values generated by `lua_pushinteger` have type `number`.
42194219
* Only values generated by `lua_pushinteger` can get true of `lua_isinteger`. (But get false after `lua_tostring`)
42204220
* `lua_isnumber` gets true if the value is a real `number` or a `string` but convertible to number.
42214221
@@ -4249,7 +4249,7 @@ Operations like `lua_isnumber`, `lua_pushinteger`, `lua_isstring` don't mean che
42494249
2. Number is also string.
42504250
3. String is also number if it is convertible to number.
42514251
4. String is always not integer.
4252-
5. `lua_tostring` implicitly convert number to string.
4252+
5. `lua_tostring` will implicitly convert number to string.
42534253
42544254
#### More to say
42554255

0 commit comments

Comments
 (0)