ValidatedSafeString class
A strongly typed class used to represent a "valid" string id.
Constructors
Validated |
Creates a strongly-typed Id from a string |
Methods
to |
Returns the app id as a string |
Constructor Details
ValidatedSafeString(string)
Creates a strongly-typed Id from a string
new ValidatedSafeString(idAsString: string)
Parameters
- idAsString
-
string
An id represented as a string
Method Details
toString()
Returns the app id as a string
function toString(): string
Returns
string