Skip to content

Commit

Permalink
docs: Fix docs location
Browse files Browse the repository at this point in the history
  • Loading branch information
raon0211 committed Dec 27, 2024
1 parent 2cf3dda commit b4a668e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# subtract

::: info
この関数は互換性のために `es-toolkit/compat` からのみインポートできます。代替可能なネイティブ JavaScript API があるか、まだ十分に最適化されていないためです。

`es-toolkit/compat` からこの関数をインポートすると、[lodash と完全に同じように動作](../../../compatibility.md)します。
:::

二つの数字の差を返す関数です。

どちらかが `NaN` の場合 `NaN` を返します。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# subtract

::: info
이 함수는 호환성을 위한 `es-toolkit/compat` 에서만 가져올 수 있어요. 대체할 수 있는 네이티브 JavaScript API가 있거나, 아직 충분히 최적화되지 않았기 때문이에요.

`es-toolkit/compat`에서 이 함수를 가져오면, [lodash와 완전히 똑같이 동작](../../../compatibility.md)해요.
:::

두 숫자의 차이를 반환하는 함수예요.

둘 중 하나라도 `NaN`이면 `NaN`을 반환해요.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# subtract

::: info
This function is only available in `es-toolkit/compat` for compatibility reasons. It either has alternative native JavaScript APIs or isn’t fully optimized yet.

When imported from `es-toolkit/compat`, it behaves exactly like lodash and provides the same functionalities, as detailed [here](../../../compatibility.md).
:::

Subtract two numbers.

If either number is `NaN`, the function returns `NaN`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# subtract

::: info
出于兼容性原因,此函数仅在 `es-toolkit/compat` 中提供。它可能具有替代的原生 JavaScript API,或者尚未完全优化。

`es-toolkit/compat` 导入时,它的行为与 lodash 完全一致,并提供相同的功能,详情请见 [这里](../../../compatibility.md)

:::

返回两个数字的差值的函数。

如果其中一个数字是 `NaN`,则返回 `NaN`
Expand Down

0 comments on commit b4a668e

Please sign in to comment.