# D.1 Funciones incorporadas

> 

Página web: https://pseudolearn.app/spec/apendice/funciones

Todas las funciones incorporadas con su nombre en cada perfil, su firma y su familia.

| Familia | Español | Inglés | Parámetros | Resultado |
| --- | --- | --- | --- | --- |
| bytes | `Bytes` | `Bytes` |  | bytes |
| bytes | `BytesDesdeTexto` | `bytesFromText` | text | bytes |
| bytes | `En` | `at` | integer | integer |
| bytes | `Longitud` | `length` |  | integer |
| bytes | `Segmento` | `segment` | integer, integer | bytes |
| bytes | `TextoUtf8` | `utf8Text` |  | text |
| bytes | `Unir` | `join` | bytes | bytes |
| colecciones | `Copiar` | `copy` | anyClass | sameAsFirstArgument |
| colecciones | `Instantanea` | `snapshot` | anySnapshot | immutableOfFirstArgument |
| entrada y salida | `Abrir` | `open` | text, text | file |
| entrada y salida | `AgregarBytes` | `appendBytes` | bytes | integer |
| entrada y salida | `AgregarTexto` | `appendText` | text | integer |
| entrada y salida | `Borrar` | `delete` | text | boolean |
| entrada y salida | `Cerrar` | `close` |  | boolean |
| entrada y salida | `Cerrar` | `close` |  | boolean |
| entrada y salida | `CrearDirectorio` | `createDirectory` | text | boolean |
| entrada y salida | `EscribirBytes` | `writeBytes` | bytes | integer |
| entrada y salida | `EscribirError` | `writeError` | text | integer |
| entrada y salida | `EscribirTexto` | `writeText` | text | integer |
| entrada y salida | `EscribirTexto` | `writeText` | text | integer |
| entrada y salida | `EsDirectorio` | `isDirectory` | text | boolean |
| entrada y salida | `EstablecerCodigoSalida` | `setExitCode` | integer | integer |
| entrada y salida | `Existe` | `exists` | text | boolean |
| entrada y salida | `LeerBytes` | `readBytes` |  | bytes |
| entrada y salida | `LeerTexto` | `readText` |  | text |
| entrada y salida | `Listar` | `list` | text | text_list |
| entrada y salida | `Obtener` | `get` | text | optional_text |
| entrada y salida | `Renombrar` | `rename` | text, text | boolean |
| entrada y salida | `SolicitarArgumentos` | `requestArguments` |  | arguments |
| entrada y salida | `SolicitarConsola` | `requestConsole` |  | console |
| entrada y salida | `SolicitarDirectorio` | `requestDirectory` | text | directory |
| entrada y salida | `SolicitarEntorno` | `requestEnvironment` |  | environment |
| entrada y salida | `Subdirectorio` | `subdirectory` | text, text | directory |
| entrada y salida | `Valores` | `values` |  | text_list |
| JSON | `AnalizarJson` | `parseJson` | text | json_result |
| JSON | `ArregloJson` | `jsonArray` |  | json_value |
| JSON | `Campo` | `field` | text | optional_json_value |
| JSON | `Claves` | `keys` |  | text_list |
| JSON | `ComoCadena` | `asText` |  | optional_text |
| JSON | `ComoEntero` | `asInteger` |  | optional_integer |
| JSON | `ComoLogico` | `asBoolean` |  | optional_boolean |
| JSON | `ComoReal` | `asReal` |  | optional_real |
| JSON | `ConCampo` | `withField` | text, json_value | json_value |
| JSON | `ConElemento` | `withElement` | json_value | json_value |
| JSON | `Elemento` | `element` | integer | optional_json_value |
| JSON | `JsonCadena` | `jsonString` | text | json_value |
| JSON | `JsonEntero` | `jsonInteger` | integer | json_value |
| JSON | `JsonLogico` | `jsonBoolean` | boolean | json_value |
| JSON | `JsonNulo` | `jsonNull` |  | json_value |
| JSON | `JsonReal` | `jsonReal` | real | json_value |
| JSON | `Longitud` | `length` |  | integer |
| JSON | `ObjetoJson` | `jsonObject` |  | json_value |
| JSON | `TextoJson` | `jsonText` | json_value | text |
| JSON | `Tipo` | `kind` |  | json_kind |
| red | `Cabecera` | `header` | text | optional_text |
| red | `Cerrar` | `close` |  | boolean |
| red | `ConCabecera` | `withHeader` | text, text | http_request |
| red | `ConCuerpo` | `withBody` | bytes | http_request |
| red | `ConCuerpoTexto` | `withTextBody` | text | http_request |
| red | `ConLimiteRespuesta` | `withResponseLimit` | integer | http_request |
| red | `ConTiempoMaximo` | `withTimeout` | integer | http_request |
| red | `Cuerpo` | `body` |  | bytes |
| red | `CuerpoTexto` | `textBody` |  | text |
| red | `Enviar` | `send` | http_request | http_response |
| red | `EsExito` | `isSuccess` |  | boolean |
| red | `Estado` | `status` |  | integer |
| red | `Limitar` | `restrict` | text | network |
| red | `NombresCabeceras` | `headerNames` |  | text_list |
| red | `PeticionHttp` | `HttpRequest` | http_method, text | http_request |
| red | `Redirigida` | `redirected` | http_response | http_request |
| red | `SolicitarRed` | `requestNetwork` |  | network |
| red | `Url` | `url` |  | text |
| números | `abs` | `abs` | numeric | real |
| números | `acos` | `acos` | numeric | real |
| números | `AEntero` | `toInteger` | string | integer |
| números | `Aleatorio` | `randomBetween` | integer, integer | integer |
| números | `AReal` | `toReal` | string | real |
| números | `asen` | `asin` | numeric | real |
| números | `atan` | `atan` | numeric | real |
| números | `atan2` | `atan2` | numeric, numeric | real |
| números | `azar` | `random` | integer | integer |
| números | `AzarReal` | `randomReal` |  | real |
| números | `cos` | `cos` | numeric | real |
| números | `exp` | `exp` | numeric | real |
| números | `ln` | `ln` | numeric | real |
| números | `log10` | `log10` | numeric | real |
| números | `log2` | `log2` | numeric | real |
| números | `max` | `max` | numeric, numeric | widestNumeric |
| números | `min` | `min` | numeric, numeric | widestNumeric |
| números | `piso` | `floor` | numeric | integer |
| números | `rc` | `sqrt` | numeric | real |
| números | `redon` | `round` | real | integer |
| números | `sen` | `sin` | numeric | real |
| números | `tan` | `tan` | numeric | real |
| números | `techo` | `ceil` | numeric | integer |
| números | `trunc` | `trunc` | real | integer |
| texto | `AMayusculas` | `toUpper` | text | text |
| texto | `AMinusculas` | `toLower` | text | text |
| texto | `ATexto` | `toText` | anyPrimitive | string |
| texto | `CaracterDesde` | `charFromCode` | integer | character |
| texto | `CaracterEn` | `charAt` | string, integer | character |
| texto | `CodigoDe` | `charCode` | character | integer |
| texto | `Concatenar` | `concat` | string, string | string |
| texto | `Contiene` | `contains` | string, string | boolean |
| texto | `Decimales` | `decimals` | real, integer | text |
| texto | `Dividir` | `split` | string, string | stringVector |
| texto | `EmpiezaCon` | `startsWith` | string, string | boolean |
| texto | `Longitud` | `length` | string | integer |
| texto | `PosicionDe` | `indexOf` | string, string | optionalInteger |
| texto | `Recortar` | `trim` | string | string |
| texto | `Reemplazar` | `replace` | string, string, string | string |
| texto | `RellenarDerecha` | `padRight` | text, integer, text | text |
| texto | `RellenarIzquierda` | `padLeft` | text, integer, text | text |
| texto | `Subcadena` | `substring` | string, integer, integer | string |
| texto | `TerminaCon` | `endsWith` | string, string | boolean |
| texto | `Unir` | `join` | stringVector, string | string |
| tiempo | `Ahora` | `now` |  | integer |
| tiempo | `AhoraLocal` | `localNow` |  | date_time |
| tiempo | `AnalizarFechaHora` | `parseDateTime` | text | optional_date_time |
| tiempo | `Anio` | `year` |  | integer |
| tiempo | `DesplazamientoUtc` | `utcOffset` |  | integer |
| tiempo | `Dia` | `day` |  | integer |
| tiempo | `DiaDeLaSemana` | `weekday` |  | integer |
| tiempo | `Esperar` | `wait` | integer | integer |
| tiempo | `FechaHoraDe` | `dateTimeOf` | integer, integer, integer, integer, integer, integer, integer, integer | optional_date_time |
| tiempo | `FechaHoraUtc` | `dateTimeUtc` | integer | date_time |
| tiempo | `FormatoIso` | `isoFormat` |  | text |
| tiempo | `FormatoIsoPreciso` | `isoFormatPrecise` |  | text |
| tiempo | `Hora` | `hour` |  | integer |
| tiempo | `Instante` | `instant` |  | integer |
| tiempo | `Mes` | `month` |  | integer |
| tiempo | `Minuto` | `minute` |  | integer |
| tiempo | `Nanosegundo` | `nanosecond` |  | integer |
| tiempo | `Segundo` | `second` |  | integer |
| tiempo | `SolicitarReloj` | `requestClock` |  | clock |
| tiempo | `SolicitarTemporizador` | `requestTimer` |  | timer |
