メインコンテンツまでスキップ
バージョン:23.3

クイックリファレンス: 演算子

演算子は、数学的または論理的な単語や記号で、式で使用できます。後続のセクションで各演算子が詳細に説明されます。参考のために、ここではカテゴリ別にリストアップします。

数学的な演算子​

演算子挙動
+, plus加算
-, minus減算
*, times, multiplied by乗算
/, divided by除算
^指数(べき乗
squared2乗
to the power of指定されたパワーに引き上げる
cubed三乗
%, percentパーセント
div整数除算
rem整数の余り
modulo, mod数学的な余り
is a multiple of, is divisible by数の厳密な倍数であるかのテスト
rounded to指定した小数の桁数に四捨五入する
rounded to nearestある値の最も近い倍数に四捨五入

比較演算子​

演算子挙動
is

are

equals

equal to

does equal

are equal

the same
二乗
<>

is not

are not

does not equal

is not equal to

isn't

aren't

doesn't equal

isn't equal to
等しくない
<

is less than

comes before

is earlier than

is not greater than or equal to
より少ない。
>

is greater than

is more than

comes after

is later than

is past

is not less than or equal to
より大きい。
<=

is less than or equal to

does not come after

is not greater than

is not later than

is not past

is at most

is no more than
以下
>=

is greater than or equal to

does not come before

is not less than

is not earlier than

is at least

is no less than
以上
振る舞い値が値の範囲内にあるかどうか

論理演算子​

演算子挙動
and論理的なand
and ifショートサーキット論理的and
または論理的な包括的or
or ifショートサーキット論理的包括的or
not論理的な否定

テキスト演算子​

演算子挙動
&テキスト文字列の連結。
&&スペースが挿入されて連結されたテキスト。
is in

is contained by

is not in

isn't in
一つの文字列がもう一つの中に含まれている、または値がリストに含まれている。詳細はテキスト演算子をご覧ください。
contains

does not contain

doesn't contain
一つの文字列がもう一つを含む、または値がリストに含まれている。詳細はテキスト演算子をご覧ください。
is among

is not among

isn't among
ある値が他の値のchunks, items, keys, valuesの中に存在している。
begins with

does not begin with

doesn't begin with
ある文字列が別の文字列で始まる、またはリストが値やサブリストで始まる。詳細はテキスト演算子をご覧ください。
ends with

does not end with

doesn't end with
1つの文字列が別の文字列で終わるかどうか、またはリストが値またはサブリストで終わるかどうか

プロパティリスト演算子​

演算子挙動
addingプロパティリストから他のプロパティリストへプロパティを追加
replacing重複を上書きしながら、一つのプロパティリストから他のプロパティリストへプロパティを追加
removingプロパティリストから指定したプロパティを削除
retaining指定したプロパティ以外のプロパティをプロパティリストから削除

日付演算子​

演算子挙動
ago現在より前の時間
hence, from now現在より後の時間

その他の演算子​

演算子挙動
( )グループ化
is aタイプ(数値、整数、点、矩形、日付、論理、色)のテスト
there is a指定されたオブジェクトやファイルが存在する場合にtrueを返す
exists指定されたオブジェクトやファイルが存在する場合にtrueを返す
is within点や矩形が矩形内にあるかどうかをテスト
&&&リストの連結
joined byリストやプロパティリストをテキストに変換
split byテキストをリストまたはプロパティリストに変換
as値を指定した内部表現に変換
(if ... then ... else ...)セレクタ式