Documentation / @warp-drive/legacy / compat/utils / configureAssertFn
Function: configureAssertFn()
ts
function configureAssertFn(fn): void;
Defined in: warp-drive-packages/legacy/src/compat/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