Skip to content

Documentation / @ember-data/legacy-compat / utils / configureAssertFn

ts
function configureAssertFn(fn): void;

Defined in: utils.ts:54

Configure a function to be called when an id or type fails validation. This is useful for instrumenting to discover places where usage in the app is not consistent.

Parameters

fn

(message, condition) => void

Returns

void

Released under the MIT License.