Use any instead of interface{} (#419)

This commit is contained in:
Aman Gupta Karmani 2023-08-21 21:26:27 -07:00 committed by GitHub
parent 0177bdb4e1
commit 92cbb9bff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,9 +32,9 @@ Here's a list of all available value types in Tengo.
| bytes | byte array | `[]byte` |
| error | [error](#error-values) value | - |
| time | time value | `time.Time` |
| array | value array _(mutable)_ | `[]interface{}` |
| array | value array _(mutable)_ | `[]any` |
| immutable array | [immutable](#immutable-values) array | - |
| map | value map with string keys _(mutable)_ | `map[string]interface{}` |
| map | value map with string keys _(mutable)_ | `map[string]any` |
| immutable map | [immutable](#immutable-values) map | - |
| undefined | [undefined](#undefined-values) value | - |
| function | [function](#function-values) value | - |