function iget( x, idx, strict ) {
	idx = resolveIndex( idx, numel( getShape( x, false ) ), strict );
	if ( idx === -1 ) {
		// Even for 0-D ndarrays, where, at least in stdlib, one may provide an index argument to `iget`, always return undefined...
		return;
	}
	return x.iget( idx );
}
Returns an ndarray element according to a linear index.

## Notes

-   This function assumes the presence of an `#.iget` method, which all stdlib ndarrays are expected to have.

@private
@param {ndarrayLike} x - input ndarray
@param {string} idx - linear index string
@param {boolean} strict - boolean indicating whether to enforce strict bounds checking
@throws {RangeError} index exceeds ndarray bounds
@returns {(*|void)} value