GoLang ReflectionParameter::isOptional

request it (270)
GoLang replacement for PHP's ReflectionParameter::isOptional [edit | history]

Do you know a GoLang replacement for PHP's ReflectionParameter::isOptional? Write it!

PHP ReflectionParameter::isOptional

PHP original manual for ReflectionParameter::isOptional [ show | php.net ]


(PHP 5 >= 5.0.3, PHP 7)

ReflectionParameter::isOptionalChecks if optional


public bool ReflectionParameter::isOptional ( void )

Checks if the parameter is optional.


This function has no parameters.

Return Values

TRUE if the parameter is optional, otherwise FALSE

See Also