Decodal/doc/manual/souce/language/value/int.md
2026-06-16 01:27:54 +09:00

265 B

Int

Int は整数値を表す primitive type constraint である。

retry = Int default 3;
port = Int & >= 1 & <= 65535;

制約合成

数値比較制約と合成できる。

NarrowedPort = Int & >= 1 & <= 65535 & > 443;