Skip to main

iif

iif

Source Location: packages/core/src/source.ts#L1013

Signature

function iif<T>(
condition: () => unknown,
createSourceIfTrue: () => Source<T>,
createSourceIfFalse: () => Source<T>,
): Source<T>