otplib-utils/setsOf

Divides number/string into defined quantity per set

Source:
Parameters:
Name Type Description
value string

string value to split

amount integer

number of digits per set

divider string

defines how sets are joined.

Returns:
Type:
string