Skip to content

TypedTextComponent.valueFromString method

TypedTextComponent › valueFromString

Converts a string to a value.

Signature:

valueFromString(str: string): T

Parameters:

ParameterTypeDescription
strstringThe string to convert.

Returns: TThe value.