MCPcopy
hub / github.com/zxing-js/library / toArray

Method toArray

src/core/common/BitArray.ts:392–398  ·  view source on GitHub ↗

* converts to boolean array.

()

Source from the content-addressed store, hash-verified

390 * converts to boolean array.
391 */
392 public toArray(): Array<boolean> {
393 let result = [];
394 for (let i = 0, size = this.size; i < size; i++) {
395 result.push(this.get(i));
396 }
397 return result;
398 }
399
400}

Callers 2

getValidRowDataMethod · 0.80
BitArray.spec.tsFile · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected