Skip to content

isUserDataUpToDate

@wuespace/telestion / utils / isUserDataUpToDate

isUserDataUpToDate(userData, currentVersion): boolean

Checks if the user data is up-to-date with the current version of the application.

Parameters

userData: undefined | Object

the user data to compare with the application version

currentVersion: string

the current version of the application

Returns

boolean