Skip to content

get/set internal array #8

Description

@jmsv

get/set functions for internal array, this._original. something like:

get array(): object[] {
  return this._original
}

set array(input: object[]) {
  // same as constructor but without reassigning `this._keys`
  // should be moved to new function to avoid code duplication
  this._original = input.map((x) => Object.assign({}, x))
  this._transposed = transpose(this._keys, this._original)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions