Function setUserDateOfBirth

  • Sets the date of birth of the user. Alternatively takes in null values for all parameters to set date of birth to null.

    Parameters

    • year: null | number
    • month: null | number

      1-12

    • day: null | number

    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.