Berserk Docs
Scalar FunctionsType Functions

asstring

Extract a string from a dynamic or pass through a string value. Non-string values become the empty string.

Syntax

asstring(value)

Parameters

Prop

Type

Returns: string

Examples

Example 1

print asstring(dynamic("hello"))
print_0 (string)
hello

On this page