GoLang Gender\Gender::get

request it (344)
GoLang replacement for PHP's Gender\Gender::get [edit | history]



Do you know a GoLang replacement for PHP's Gender\Gender::get? Write it!

PHP Gender\Gender::get

PHP original manual for Gender\Gender::get [ show | php.net ]

Gender\Gender::get

(PECL gender >= 0.6.0)

Gender\Gender::getGet gender of a name

Description

public int Gender\Gender::get ( string $name [, int $country ] )

Get the gender of the name in a particular country.

Parameters

name

Name to check.

country

Country id identified by Gender class constant.

Return Values

Returns gender of the name.