MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / serialize

Method serialize

packages/repository/src/types/array.ts:49–52  ·  view source on GitHub ↗
(value: T[] | null | undefined)

Source from the content-addressed store, hash-verified

47 }
48
49 serialize(value: T[] | null | undefined) {
50 if (value == null) return value;
51 return value.map(i => this.itemType.serialize(i));
52 }
53}

Callers

nothing calls this directly

Calls 1

serializeMethod · 0.65

Tested by

no test coverage detected