blockly > utils > chaîne > shortestStringLength

Fonction utils.string.shortestStringLength()

À partir d'un tableau de chaînes, renvoie la longueur de la plus courte.

Signature :

export declare function shortestStringLength(array: string[]): number;

Paramètres

Paramètre Type Description
tableau chaîne[] Tableau de chaînes.

Renvoie :

Nombre

Longueur de la chaîne la plus courte.