Skip to content

Documentation / @warp-drive/legacy / model / modelFor

Call Signature

ts
function modelFor<T>(type): void | typeof Model;

Defined in: warp-drive-packages/legacy/src/model/-private/hooks.ts:53

Type Parameters

T

T

Parameters

type

TypeFromInstance<T>

Returns

void | typeof Model

Call Signature

ts
function modelFor(type): void | typeof Model;

Defined in: warp-drive-packages/legacy/src/model/-private/hooks.ts:54

Parameters

type

string

Returns

void | typeof Model

Released under the MIT License.