> For the complete documentation index, see [llms.txt](https://www.rxjs.es/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.rxjs.es/api/indice/factoryorvalue.md).

# FactoryOrValue

### Firma

`type FactoryOrValue<T> = T | (() => T);`

## Recursos adicionales

[![Source code](https://github.com/puntotech/rxjs-docu/blob/master/doc/api/index/assets/icons/source-code.png)](https://github.com/ReactiveX/rxjs/blob/6.5.5/src/internal/types.ts#L9-L10)

[Documentación oficial en inglés](https://rxjs.dev/api/index/type-alias/FactoryOrValue)
