Skip to content

Standardbibliothek ​

Automatisch geladen: std/prelude.yl ​

Strings: позиция, содержит, повтор, заменитьArrays: сумма, произведение, среднее, сорт, уникальные, макс_из, мин_изMathe: факториал, gcd, even, odd

Eingebaute Funktionen ​

Allgemein: len, str, num, type, assert, eval, exit, dump, timeStrings: upper, lower, trim, split, joinMathe: abs, floor, ceil, round, min, max, sqrt, rand, rangeArrays: push, pop, keys, vals, map, filter, reduce

JSON ​

yl
¤ data = json_parse('{"x": 1}')
» json_str(data)

Datum ​

yl
» сейчас()
» ISO(now())

HTTP ​

yl
¤ html = http_get("https://example.com")

Dateien ​

readfile, writefile, appendfile, exists, read

Erstellt mit PHP. MIT-Lizenz.