Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibPDF-js/core
/ toArray
Method
toArray
src/objects/pdf-array.ts:109–111 ·
view source on GitHub ↗
* Get all items as a new array.
()
Source
from the content-addressed store, hash-verified
107
* Get all items as a
new
array.
108
*/
109
toArray(): PdfObject[] {
110
return
[...this.items];
111
}
112
113
/**
114
* Create array from items.
Callers
1
pdf-array.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected