GoLang ReflectionClass::isIterable

request it (307)
GoLang replacement for PHP's ReflectionClass::isIterable [edit | history]



Do you know a GoLang replacement for PHP's ReflectionClass::isIterable? Write it!

PHP ReflectionClass::isIterable

PHP original manual for ReflectionClass::isIterable [ show | php.net ]

ReflectionClass::isIterable

(PHP 7 >= 7.2.0)

ReflectionClass::isIterableCheck whether this class is iterable

Description

public bool ReflectionClass::isIterable ( void )

Parameters

This function has no parameters.

Return Values

Returns TRUE if this class is iterable (can be used inside foreach), FALSE otherwise.