import { isFn , MapFnOrValue } from '../internal/common' ; import { DefaultExecutor } from '../internal/match-execution/types' ; import { isMatched , trackMatched } from '../internal/match-tracking' ; description since example const otherwise = useDefault => tracker => { if ( isMatched ( tracker ) ) return tracker ; const defaultValue = isFn ( useDefault ) ? useDefault ( tracker . val ) : useDefault ; return trackMatched ( defaultValue ) ; } ; export { otherwise , otherwise as rest , otherwise as _ , } ;