isValidGender

fun isValidGender(gender: Int): Boolean

Deprecated

Use method isValidSex instead

Replace with

isValidSex

Validate gender integer.

Return

true if gender is SEX_MALE or SEX_FEMALE

Parameters

gender

one of gender constants