Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > utils > dize > shortestStringLength
utils.string.shortestStringLength() işlevi
Bir dize dizisi verildiğinde en kısanın uzunluğunu döndürür.
İmza:
export declare function shortestStringLength(array: string[]): number;
Parametreler
Parametre |
Tür |
Açıklama |
dizi |
dize[] |
Dize dizisi. |
Şunu döndürür:
sayı
En kısa dizenin uzunluğu.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-12 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-09-12 UTC."],[[["The `shortestStringLength` function determines the length of the shortest string within an array of strings."],["It accepts an array of strings as input and returns a number representing the shortest string's length."],["This function is part of Blockly's `utils.string` namespace, providing utility for string operations."]]],[]]