Skip to content

Function: toIdentifierWithOptions()

toIdentifierWithOptions(options, …values): string

Join tokenized values with delimiter. When the next token would push the result over maxLength: trim stops adding; empty returns ""; hash appends a digest of accepted tokens plus the overflow token if the result still fits, otherwise "".

IdentifierOptions

unknown[]

string