From b80effe304d401653be433ba20d7ca0119451042 Mon Sep 17 00:00:00 2001 From: BeowulfDragon Date: Wed, 24 Jul 2024 19:50:53 +0200 Subject: [PATCH] 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. --- Documentation/ink_JSON_runtime_format.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/ink_JSON_runtime_format.md b/Documentation/ink_JSON_runtime_format.md index 39f19274..6fa1acbb 100644 --- a/Documentation/ink_JSON_runtime_format.md +++ b/Documentation/ink_JSON_runtime_format.md @@ -215,7 +215,6 @@ Diverts and variable pointers are not a part of this hierarchy. Coercions work as follows: * `bool` - `bool` is *always* coerced to another type, usually `int`. * `int` or `float`: `true` becomes `1` and `false` becomes `0`. - * `string`: `true` becomes `"true"` and `false` becomes `"false"`. * `int` * `bool`: `0` becomes `false`, all other values become `true`. * `float`: Remains the same value, but a `float`.