otplib-utils/isSameToken

Simple comparison of 2 tokens

Source:
Parameters:
Name Type Description
token1 string | number

base value

token2 string | number

value to compare

Returns:
Type:
boolean