Documentation / @ember-data/legacy-compat / utils / configureAssertFn
Function: 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
a function which takes a message and a condition
Returns
void