Skip to content

Commit 860b746

Browse files
bugerSimon Pearsletzya
authored
Merging to release-5.4: [DX-1496] Refactor Blob Lang Methods Page For Indexing (#5036)
[DX-1496] Refactor Blob Lang Methods Page For Indexing (#5036) refactor methods page for indexing --------- Co-authored-by: Simon Pears <[email protected]> Co-authored-by: Yaara <[email protected]> Co-authored-by: Yaara <[email protected]>
1 parent 67fb7eb commit 860b746

17 files changed

+3683
-3564
lines changed

tyk-docs/content/product-stack/tyk-streaming/guides/bloblang/arithmetic.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In [Bloblang]({< ref "/product-stack/tyk-streaming/guides/bloblang/overview" >})
1616

1717
When a mathematical operation is performed with two or more integer values [Bloblang]({< ref "/product-stack/tyk-streaming/guides/bloblang/overview" >}) will create an integer result, with the exception of division. However, if any number within a mathematical operation is a floating point then the result will be a floating point value.
1818

19-
In order to explicitly coerce numbers into integer types you can use the [.ceil(), .floor(), or .round()]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods#number_manipulation" >}}) methods.
19+
In order to explicitly coerce numbers into integer types you can use the [.ceil(), .floor(), or .round()]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods/numbers" >}}) methods.
2020

2121
## Comparison
2222

@@ -26,7 +26,7 @@ If you wish to reverse the boolean result of a complex query then simply place t
2626

2727
### Equality
2828

29-
The equality operators (`==` and `!=`) are valid to use against any value type. In order for arguments to be considered equal they must match in both their basic type (`string`, `number`, `null`, `bool`, etc) as well as their value. If you wish to compare mismatched value types then use [coercion methods]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods#type-coercion" >}}).
29+
The equality operators (`==` and `!=`) are valid to use against any value type. In order for arguments to be considered equal they must match in both their basic type (`string`, `number`, `null`, `bool`, etc) as well as their value. If you wish to compare mismatched value types then use [coercion methods]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods/type-coercion" >}}).
3030

3131
Number arguments are considered equal if their value is the same when represented the same way, which means their underlying representations (integer, float, etc) do not need to match in order for them to be considered equal.
3232

tyk-docs/content/product-stack/tyk-streaming/guides/bloblang/functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ root.foo = batch_size()
326326

327327
### content
328328

329-
Returns the full raw contents of the mapping target message as a byte array. When mapping to a JSON field the value should be encoded using the method [encode]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods#encode" >}}), or cast to a string directly using the method [string]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods#string" >}}), otherwise it will be base64 encoded by default.
329+
Returns the full raw contents of the mapping target message as a byte array. When mapping to a JSON field the value should be encoded using the method [encode]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods/encoding-and-encryption#encode" >}}), or cast to a string directly using the method [string]({{< ref "/product-stack/tyk-streaming/guides/bloblang/methods/type-coercion#string" >}}), otherwise it will be base64 encoded by default.
330330

331331
#### Examples
332332

0 commit comments

Comments
 (0)