import { logicCalculate } from "https://dotland.deno.dev/x/somefn@v0.1.1-jsr/js/calculate-logic.ts";
逻辑计算
在做字符串包含匹配时, 建议:
- 定长, 比如
022,122,032
不包含012
. - 额外处理字符串, 比如
',22,122,32,'
不包含',12,'
.
Parameters
data: Record<K, string | number>
logicRelationship: LogicRelationship<K>