Function setUserGender

  • Sets the gender of the user.

    Parameters

    • gender: null | Genders

      Generally 'm' or 'f'. Accepts an explicit null value to null out attribute. Use the GenderOptions enum when setting this value.

    Returns Promise<boolean | undefined>

    Resolves to a boolean that indicates whether the update was successfully enqueued. Resolves to undefined if the SDK is not initialized.