condition.type.isTraversable

Condition: Value implements interface Traversable

Condition ViewHelper which renders the then child if provided value implements interface Traversable.

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
false
Description
Value to check