GoLang ReflectionParameter::isOptional

request it (384)
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 ]

ReflectionParameter::isOptional

(PHP 5 >= 5.0.3, PHP 7)

ReflectionParameter::isOptionalChecks if optional

Description

public bool ReflectionParameter::isOptional ( void )

Checks if the parameter is optional.

Parameters

This function has no parameters.

Return Values

TRUE if the parameter is optional, otherwise FALSE

See Also