Documentation / @ember-data/legacy-compat / utils / configureAssertFn
ts
function configureAssertFn(fn): void;
Defined in: warp-drive-packages/legacy/declarations/compat/utils.d.ts:19
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