Skip to content

Commit b80effe

Browse files
Removed incorrect coercion information from ink_JSON_runtime_format.md
Don't know where I thought I saw strings getting cast to bools, but it's not in the source code.
1 parent cdd9372 commit b80effe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Documentation/ink_JSON_runtime_format.md

-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ Diverts and variable pointers are not a part of this hierarchy.
215215
Coercions work as follows:
216216
* `bool` - `bool` is *always* coerced to another type, usually `int`.
217217
* `int` or `float`: `true` becomes `1` and `false` becomes `0`.
218-
* `string`: `true` becomes `"true"` and `false` becomes `"false"`.
219218
* `int`
220219
* `bool`: `0` becomes `false`, all other values become `true`.
221220
* `float`: Remains the same value, but a `float`.

0 commit comments

Comments
 (0)