5f4f1f7508
Añade campos params y output al frontmatter YAML de las 506 funciones del registry. Cada parámetro tiene descripción semántica (qué representa, unidades, rango típico) y cada función describe qué produce su output. Permite a agentes razonar sobre cadenas de composición (ej: prices → log_return → sharpe_ratio) sin leer código.
26 lines
650 B
Markdown
26 lines
650 B
Markdown
---
|
|
name: is_hex
|
|
kind: function
|
|
lang: go
|
|
domain: cybersecurity
|
|
version: "1.0.0"
|
|
purity: pure
|
|
signature: "func IsHex(s string) bool"
|
|
description: "Valida si un string es una cadena hexadecimal valida (longitud par, caracteres 0-9 a-f A-F)."
|
|
tags: [cybersecurity, validation, hex, format]
|
|
uses_functions: []
|
|
uses_types: []
|
|
returns: []
|
|
returns_optional: false
|
|
error_type: ""
|
|
imports: []
|
|
params:
|
|
- name: s
|
|
desc: "string a validar como hexadecimal"
|
|
output: "booleano indicando si el string es hexadecimal valido (caracteres 0-9 a-f A-F con longitud par)"
|
|
tested: false
|
|
tests: []
|
|
test_file_path: ""
|
|
file_path: "functions/cybersecurity/is_hex.go"
|
|
---
|