Skip to contents

`destructure` is primarily used to help define how an object should be prepared, or transformed, prior to a destructuring assignment. This can be relevant for objects which have unique subsetting semantics – for example, [numeric_version] objects.

Usage

destructure(object)

Arguments

object

An R object.

Details

Packages which would like to define special destructring semantics for certain object classes can implement methods for this class.