Skip to content

Core:rangeの説明と演算子リストへのリンクを追加 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review(by takejohn)
Co-authored-by: Take-John <takejohn@takejohn.jp>
  • Loading branch information
FineArchs and takejohn authored Dec 22, 2024
commit be533af3dd59475187a222f53302a65a6427ca08
2 changes: 1 addition & 1 deletion docs/en/references/std.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Get the type name of the value.
Obtains a string representing a value.

#### @Core:range(_a_: num, _b_: num): `arr<num>`
Generates a sequence of numbers starting from _a_ and ends in _b_.
Generates a sequence of numbers starting from _a_ and ending in _b_.
Increments by 1 when `a < b`, decrements by 1 when `a > b`.
Returns `[a]` when `a == b`.
Behavior is not defined when `a` and/or `b` is non-integer.
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/references/std.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ AiScriptのバージョンです。

#### @Core:range(_a_: num, _b_: num): `arr<num>`
_a_ から始まり _b_ で終わる数値の等差配列を返します。
`a < b`なら1づつ増え、`a > b`なら1づつ減ります
`a < b`なら1ずつ増え、`a > b`なら1ずつ減ります
`a == b`であれば`[a]`を返します。
`a`および`b`が非整数であるときの動作は未定義です。

Expand Down