isFactory(value: unknown): value is FailureFactory<string, never>
True for a factory made by define. A factory carries the code it produces and its
own is guard; a plain error-mapper carries neither, so an API can accept both in one
position and tell them apart exactly, without guessing from arity.
const NotFound = define('NotFound', 'missing'); isFactory(NotFound); // true isFactory((error: unknown) => from(error)); // false — a mapper, not a factory
value is FailureFactory<string, never>