Version: v0.6.1 - Beta.  We welcome contributors & feedback.  THanks!

TypeString.stringify

stringify()

Description

Get the untyped version of the string.

Normally this is not recommended, as the consuming modules will stringify the TypeString before it is used.

$userName = 'taylor22';
$html = html'Hello, <b>{}</b>'.fill(userName);
$plain = html.stringify();

print($plain);
//= 'Hello, <b>taylor22</b>'