truthy

[美國]/ˈtruːθi/
[英國]/ˈtruːθi/
詞頻: 非常高

中文釋義

例句

in javascript, any non-zero number is considered a truthy value.

the function returns a truthy result when the condition is met.

you should use a truthy check to determine if the string is not empty.

the expression evaluates to truthy because the array has elements.

a truthy condition allows the code block to execute.

in many programming languages, an empty string is falsy while a non-empty string is truthy.

the test passes when it receives a truthy input.

make sure your boolean check returns truthy for valid entries.

the statement evaluates as truthy because the variable is defined.

understanding truthy and falsy values is essential for conditional logic.

the validation function needs to return a truthy value to proceed.

下載 App 以解鎖完整內容

想更有效率地學習單字嗎?下載 DictoGo 應用程式,享受更多單字記憶與複習功能!

立即下載 DictoGo