MCPcopy Create free account
hub / github.com/pacexy/flow / define

Method define

apps/reader/src/models/reader.ts:139–141  ·  view source on GitHub ↗
(def: string[])

Source from the content-addressed store, hash-verified

137 }
138
139 define(def: string[]) {
140 this.updateBook({ definitions: [...this.book.definitions, ...def] })
141 }
142 undefine(def: string) {
143 this.updateBook({
144 definitions: this.book.definitions.filter(

Callers 1

Calls 1

updateBookMethod · 0.95

Tested by

no test coverage detected