function getElements( target, property, ctx ) {
	var idx = prop2array( property, ctx.cache );
	if ( idx.type === 'int' ) {
		return ctx.postGetArray( take( target, idx.data ) );
	}
	if ( idx.type === 'bool' ) {
		return ctx.postGetArray( mskfilter( target, idx.data ) );
	}
	if ( idx.type === 'mask' ) {
		return ctx.postGetArray( mskreject( target, idx.data ) );
	}
	throw new Error( format( 'invalid operation. Unrecognized array index type. Value: `%s`.', idx.type ) );
}
Returns the elements specified by an array index.

@private
@param {Object} target - target object
@param {string} property - index string
@param {Object} ctx - context object
@param {Object} ctx.cache - cache for resolving array index objects
@param {Function} ctx.postGetArray - function to process a retrieved array
@throws {Error} invalid array index
@throws {RangeError} index exceeds array bounds
@returns {Collection} result