MCPcopy Index your code
hub / github.com/4ian/GDevelop / getVariableString

Method getVariableString

GDJS/Runtime/runtimeobject.ts:1078–1080  ·  view source on GitHub ↗

* Get the value of a variable considered as a string. Equivalent of variable.getAsString() * @param variable The variable to be accessed * @return The string of the specified variable * @static

(variable: gdjs.Variable)

Source from the content-addressed store, hash-verified

1076 * @static
1077 */
1078 static getVariableString(variable: gdjs.Variable): string {
1079 return variable.getAsString();
1080 }
1081
1082 /**
1083 * Shortcut to set the value of a variable considered as a boolean.

Callers

nothing calls this directly

Calls 1

getAsStringMethod · 0.45

Tested by

no test coverage detected