condition.type.isInstanceOf ViewHelper <vhs:condition.type.isInstanceOf> 

Condition: Value is an instance of a class 

Condition ViewHelper which renders the then child if provided value is an instance of provided class name.

Arguments 

then 

DataType
mixed
Required
false
Description
Value to be returned if the condition if met.

else 

DataType
mixed
Required
false
Description
Value to be returned if the condition if not met.

value 

DataType
mixed
Required
true
Description
Value to check

class 

DataType
mixed
Required
true
Description
ClassName to check against