This functions works for both fixed- and variable-sized dimensions and switches internally.

## Usage

tiledb_array_get_non_empty_domain_from_index(arr, idx)

## Arguments

arr

A TileDB Array

idx

An integer index between one the number of dimensions

## Value

A two-element object is returned describing the domain of selected dimension; it will either be a numeric vector in case of a fixed-size fixed-sized dimensions, or a characer vector for a variable-sized one.