約9,920件1ページ目

条件を指定して検索しています。すべての条件を解除する

  • 対象とする言語:日本語
  • The return value can be a number, boolean or a string. ヒント. If the function returns a value, you must assign the returned value to a variable or use ...

    2025/10/19 -... return value set to the boolean type. const isAdult = (age: number): boolean => { return age >= 18; };. Since the result of a conditional ...

    A function produces a side effect if it does anything other than take a value in and return another value or values. A side effect could be writing to a ...

    ```js function type(value) { if (value === null) { return "null"; } const baseType = typeof value; // プリミティブ型 if (!["object", "function"].includes ...

    Returns a Boolean value indicating if the type of the specified expression is a boolean. This method is to be used in LINQ expressions only and will be ...

    JavaScript will automatically perform type conversion for you when comparing two values (e.g. the integer 5 will register as equivalent to the string "5"). When ...

    2026/4/17 -This method is used to check if the connected Element is displayed on a webpage. Returns a Boolean value, True if the connected element is ...

    ... value: 1, addValue: function (value) { return atom.value + value; }, }; // good const atom = { value: 1, addValue(value) { return atom.value + value; }, };.

    If you have a mock function, you can use .toHaveReturned to test that the mock function successfully returned (i.e., did not throw an error) at least one time.

    論理演算子. 例, 名前, 結果. $a and $b, 論理積, $a および $b が共に true の場合に true. $a or $b, 論理和, $a または $b のどちらかが true の場合に true.