get_range method

Z3_sort get_range(
  1. Z3_context c,
  2. Z3_func_decl d
)

\brief Return the range of the given declaration.

If \c d is a constant (i.e., has zero arguments), then this function returns the sort of the constant.

def_API('Z3_get_range', SORT, (_in(CONTEXT), _in(FUNC_DECL)))

Implementation

Z3_sort get_range(
  Z3_context c,
  Z3_func_decl d,
) {
  return _get_range(
    c,
    d,
  );
}