Docs (4.0.0)
class ManagedRecord method

getPreviousSibling

Returns the previous record in a parent list, if any.

getPreviousSibling<TRecord = this>(): TRecord | undefined

Notes

  • If this record isn’t directly contained by an (attached) ManagedList, or if this record is the first item, this method returns undefined.

Related