Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions definitions/standard/runtime_definition/object/object-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,18 @@

## Removed
- remove

# 06.02.2026

## Added
- get


## Todo
current get impl looks like:
<K. T> get(object: Object<K>, key: Text): T

But this should be changed to:
<K, T> get(object: Object<K>, key: T keyof K): T ofkey Object<K>

When the tucana definitions are adjusted
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"runtimeName": "std::object::get",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"genericType": {
"dataTypeIdentifier": "OBJECT",
"genericMappers": [
{
"source": [
{
"genericKey": "O"
}
],
"target": "T",
"genericCombinations": []
}
]
}
},
"runtimeName": "object",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Object"
}
],
"description": [
{
"code": "en-US",
"content": "The object that contains the value referenced by the key."
}
],
"documentation": []
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "TEXT"
},
"runtimeName": "key",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Key"
}
],
"description": [
{
"code": "en-US",
"content": "The property name under which the value will be referenced."
}
],
"documentation": []
}
],
"returnTypeIdentifier": {
"genericKey": "K"
},
"throwsError": false,
"genericKeys": [
"K",
"O"
],
"name": [
{
"code": "en-US",
"content": "Get Object's Value"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"content": "Get Object's Value"
"content": "Get key of object"

}
],
"description": [
{
"code": "en-US",
"content": "Returns the value of a property inside of the object."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"content": "Returns the value of a property inside of the object."
"content": "Returns the value of a key inside of the object."

}
],
"documentation": [],
"alias": [
{
"code": "en-US",
"content": "get;object;std"
}
],
"displayMessage": [
{
"code": "en-US",
"content": "Get ${key} of ${object}"
}
],
"deprecationMessage": [],
"displayIcon": "tabler:cube"
}