--- name: identity kind: function lang: go domain: core version: "1.0.0" purity: pure signature: "func Identity[T any](x T) T" description: "Devuelve el valor recibido sin modificarlo. Elemento neutro de la composicion." tags: [functional, generic, identity] uses_functions: [] uses_types: [] returns: [] returns_optional: false error_type: "" imports: [] tested: false tests: [] test_file_path: "" file_path: "functions/core/identity.go" --- ## Ejemplo ```go x := Identity(42) // 42 s := Identity("abc") // "abc" ``` ## Notas Funcion pura generica. Implementacion en devfactory/core.