Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
peacalm committed Oct 23, 2024
1 parent b8cafff commit 6aaa473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4215,7 +4215,7 @@ Here are some explanations for these.
Operations like `lua_isnumber`, `lua_pushinteger`, `lua_isstring` don't mean checking the value's type:
* Values with type `number` can also get true of `lua_isstring`. (Number is also string)
* There are no integer types in Lua. Values generated by `lua_pushinteger` has type `number`.
* There are no integer types in Lua. Values generated by `lua_pushinteger` have type `number`.
* Only values generated by `lua_pushinteger` can get true of `lua_isinteger`. (But get false after `lua_tostring`)
* `lua_isnumber` gets true if the value is a real `number` or a `string` but convertible to number.
Expand Down Expand Up @@ -4249,7 +4249,7 @@ Operations like `lua_isnumber`, `lua_pushinteger`, `lua_isstring` don't mean che
2. Number is also string.
3. String is also number if it is convertible to number.
4. String is always not integer.
5. `lua_tostring` implicitly convert number to string.
5. `lua_tostring` will implicitly convert number to string.
#### More to say
Expand Down

0 comments on commit 6aaa473

Please sign in to comment.