Skip to content
module@warp-drive/legacy/compat/utils @legacy

Function configureAssertFn() ​

ts
function configureAssertFn(fn): void;

Defined in: warp-drive-packages/legacy/src/compat/utils.ts:53

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

Released under the MIT License.