hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

assert-type

Asserts that a value has the expected type and displays a test result
Parameter
Type
Description
self
T
The value to check the type of
type
type
The expected type
text
string
Optional custom message to display in the test result
return
void
Displays a test result element showing pass or fail status with type information