Esc

has_field

procedureextensionsince 0.36.1Source
  • macOS: has_field works on macOS
  • Linux: has_field works on Linux
  • Windows: has_field works on Windows
  • Wasm: has_field works on Wasm

Tests implicit field presence; forced presence also encodes scalar defaults.

Signature

has_field :: (value: $T, $kind: Scalar, force := false) -> bool

See also