setFrom Method

Set this interval from another, with conditional replacements:

  • Always reference the same points as other.
  • use optional begin and end arguments if present; if not take begin and and from other.
  • cap end at points.length.

setFrom(other: IndexedCollectionInterval<T extends CollectionWithLength>, base?: number, limit?: number): void

Parameter Type Description
other IndexedCollectionInterval<T extends CollectionWithLength>  
base number  
limit number  

Defined in

Last Updated: 23 April, 2020