Skip to content

SpecificationD · Appendix D — Built-in functions

D.1

Built-in functions

Markdown version

Every built-in function with its name in each profile, its signature and its family.

FamilySpanishEnglishParametersResult
bytesBytesBytesbytes
bytesBytesDesdeTextobytesFromTexttextbytes
bytesEnatintegerinteger
bytesLongitudlengthinteger
bytesSegmentosegmentinteger, integerbytes
bytesTextoUtf8utf8Texttext
bytesUnirjoinbytesbytes
collectionsCopiarcopyanyClasssameAsFirstArgument
collectionsInstantaneasnapshotanySnapshotimmutableOfFirstArgument
input and outputAbriropentext, textfile
input and outputAgregarBytesappendBytesbytesinteger
input and outputAgregarTextoappendTexttextinteger
input and outputBorrardeletetextboolean
input and outputCerrarcloseboolean
input and outputCerrarcloseboolean
input and outputCrearDirectoriocreateDirectorytextboolean
input and outputEscribirByteswriteBytesbytesinteger
input and outputEscribirErrorwriteErrortextinteger
input and outputEscribirTextowriteTexttextinteger
input and outputEscribirTextowriteTexttextinteger
input and outputEsDirectorioisDirectorytextboolean
input and outputEstablecerCodigoSalidasetExitCodeintegerinteger
input and outputExisteexiststextboolean
input and outputLeerBytesreadBytesbytes
input and outputLeerTextoreadTexttext
input and outputListarlisttexttext_list
input and outputObtenergettextoptional_text
input and outputRenombrarrenametext, textboolean
input and outputSolicitarArgumentosrequestArgumentsarguments
input and outputSolicitarConsolarequestConsoleconsole
input and outputSolicitarDirectoriorequestDirectorytextdirectory
input and outputSolicitarEntornorequestEnvironmentenvironment
input and outputSubdirectoriosubdirectorytext, textdirectory
input and outputValoresvaluestext_list
JSONAnalizarJsonparseJsontextjson_result
JSONArregloJsonjsonArrayjson_value
JSONCampofieldtextoptional_json_value
JSONClaveskeystext_list
JSONComoCadenaasTextoptional_text
JSONComoEnteroasIntegeroptional_integer
JSONComoLogicoasBooleanoptional_boolean
JSONComoRealasRealoptional_real
JSONConCampowithFieldtext, json_valuejson_value
JSONConElementowithElementjson_valuejson_value
JSONElementoelementintegeroptional_json_value
JSONJsonCadenajsonStringtextjson_value
JSONJsonEnterojsonIntegerintegerjson_value
JSONJsonLogicojsonBooleanbooleanjson_value
JSONJsonNulojsonNulljson_value
JSONJsonRealjsonRealrealjson_value
JSONLongitudlengthinteger
JSONObjetoJsonjsonObjectjson_value
JSONTextoJsonjsonTextjson_valuetext
JSONTipokindjson_kind
networkCabeceraheadertextoptional_text
networkCerrarcloseboolean
networkConCabecerawithHeadertext, texthttp_request
networkConCuerpowithBodybyteshttp_request
networkConCuerpoTextowithTextBodytexthttp_request
networkConLimiteRespuestawithResponseLimitintegerhttp_request
networkConTiempoMaximowithTimeoutintegerhttp_request
networkCuerpobodybytes
networkCuerpoTextotextBodytext
networkEnviarsendhttp_requesthttp_response
networkEsExitoisSuccessboolean
networkEstadostatusinteger
networkLimitarrestricttextnetwork
networkNombresCabecerasheaderNamestext_list
networkPeticionHttpHttpRequesthttp_method, texthttp_request
networkRedirigidaredirectedhttp_responsehttp_request
networkSolicitarRedrequestNetworknetwork
networkUrlurltext
numbersabsabsnumericreal
numbersacosacosnumericreal
numbersAEnterotoIntegerstringinteger
numbersAleatoriorandomBetweeninteger, integerinteger
numbersARealtoRealstringreal
numbersasenasinnumericreal
numbersatanatannumericreal
numbersatan2atan2numeric, numericreal
numbersazarrandomintegerinteger
numbersAzarRealrandomRealreal
numberscoscosnumericreal
numbersexpexpnumericreal
numberslnlnnumericreal
numberslog10log10numericreal
numberslog2log2numericreal
numbersmaxmaxnumeric, numericwidestNumeric
numbersminminnumeric, numericwidestNumeric
numberspisofloornumericinteger
numbersrcsqrtnumericreal
numbersredonroundrealinteger
numberssensinnumericreal
numberstantannumericreal
numberstechoceilnumericinteger
numberstrunctruncrealinteger
textAMayusculastoUppertexttext
textAMinusculastoLowertexttext
textATextotoTextanyPrimitivestring
textCaracterDesdecharFromCodeintegercharacter
textCaracterEncharAtstring, integercharacter
textCodigoDecharCodecharacterinteger
textConcatenarconcatstring, stringstring
textContienecontainsstring, stringboolean
textDecimalesdecimalsreal, integertext
textDividirsplitstring, stringstringVector
textEmpiezaConstartsWithstring, stringboolean
textLongitudlengthstringinteger
textPosicionDeindexOfstring, stringoptionalInteger
textRecortartrimstringstring
textReemplazarreplacestring, string, stringstring
textRellenarDerechapadRighttext, integer, texttext
textRellenarIzquierdapadLefttext, integer, texttext
textSubcadenasubstringstring, integer, integerstring
textTerminaConendsWithstring, stringboolean
textUnirjoinstringVector, stringstring
timeAhoranowinteger
timeAhoraLocallocalNowdate_time
timeAnalizarFechaHoraparseDateTimetextoptional_date_time
timeAnioyearinteger
timeDesplazamientoUtcutcOffsetinteger
timeDiadayinteger
timeDiaDeLaSemanaweekdayinteger
timeEsperarwaitintegerinteger
timeFechaHoraDedateTimeOfinteger, integer, integer, integer, integer, integer, integer, integeroptional_date_time
timeFechaHoraUtcdateTimeUtcintegerdate_time
timeFormatoIsoisoFormattext
timeFormatoIsoPrecisoisoFormatPrecisetext
timeHorahourinteger
timeInstanteinstantinteger
timeMesmonthinteger
timeMinutominuteinteger
timeNanosegundonanosecondinteger
timeSegundosecondinteger
timeSolicitarRelojrequestClockclock
timeSolicitarTemporizadorrequestTimertimer