Interface OneOf

    • Method Detail

      • num_elts

        int num_elts()
        The number of elements in the OneOf invariant.
      • elt

        Object elt()
        The single value represented by the OneOf invariant. Throws an error if not exactly one value is represented by this.