blockly > utils > string > shortestStringLength
Fonction utils.string.shortestStringLength()
À partir d'un tableau de chaînes, renvoyez la longueur de la plus courte.
Signature :
export declare function shortestStringLength(array: string[]): number;
Paramètres
Paramètres | Type | Description |
---|---|---|
tableau | chaîne[] | Tableau de chaînes. |
Renvoie :
number
Longueur de la chaîne la plus courte.