Implement and validate JSONLogic rules—portable, JSON-serializable business logic that works across JavaScript, Python, PHP, Ruby, Go, Java, .Net, and C++.
| Data | var, missing, missingsome | | Logic | if, ==, ===, !=, !==, !, !!, and, or | | Numeric | >, >=, <, <=, +, -, , /, %, max, min | | Array | map, filter, reduce, all, some, none, merge, in | | String | cat, substr, in |
Falsy: 0, [], "", null Truthy: Everything else (including "0" and [0])
移植可能なビジネス ロジック用の JSONLogic ルールを実装、検証、テストします。 JSONLogic 構文の操作、条件付きロジックのルールの作成、ルール構造の検証、データに対するルールのテスト、またはビジネス要件の JSONLogic への変換を行う場合に使用します。 「jsonlogic の書き込み」、「jsonlogic の検証」、「ルールの作成」、「JSON としてのビジネス ロジック」、「条件付きロジック」、または JSONLogic ルールへの言及のリクエストをトリガーします。 ソース: yonderlab/kota.agent.skills。