Files
GDevelop/GDevelop.js/types/gdexpressiontypefinder.js
Florian Rival 913e367f6f Allow to properly use variables/properties/parameters in brackets to access a structure variable (#5738)
* This means expressions like `MyStructure[SomeIndexVariable]` will work properly for a structure if `SomeIndexVariable` is a string variable. Gdevelop now properly uses the type of the variable/property/parameter (to avoid considering what's inside the brackets as a number if it's a string). Remember to declare your variables in the variables editor so that you can use them in expressions.
2023-10-09 18:21:49 +02:00

6 lines
284 B
JavaScript

// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdExpressionTypeFinder {
static getType(platform: gdPlatform, projectScopedContainers: gdProjectScopedContainers, rootType: string, node: gdExpressionNode): string;
delete(): void;
ptr: number;
};