main 98594d0

startsWith.json RawHistoryFolder

1{
2  "basics": [
3    {
4      "expr": "startsWith('abcdef', 'abc')",
5      "result": { "kind": "Boolean", "value": true }
6    },
7    {
8      "expr": "startsWith('abcdef', 'bc')",
9      "result": { "kind": "Boolean", "value": false }
10    },
11    {
12      "expr": "startsWith('abcdef', '')",
13      "result": { "kind": "Boolean", "value": true }
14    },
15    {
16      "expr": "startsWith('1234', 12)",
17      "result": { "kind": "Boolean", "value": true }
18    },
19    {
20      "expr": "startsWith('true', true)",
21      "result": { "kind": "Boolean", "value": true }
22    },
23    {
24      "expr": "startsWith('false', false)",
25      "result": { "kind": "Boolean", "value": true }
26    },
27    {
28      "expr": "startsWith('asdf', null)",
29      "result": { "kind": "Boolean", "value": true }
30    },
31    {
32      "expr": "startsWith('1234', 23)",
33      "result": { "kind": "Boolean", "value": false }
34    },
35    {
36      "expr": "startsWith('true', false)",
37      "result": { "kind": "Boolean", "value": false }
38    },
39    {
40      "expr": "startsWith('true', false, true)",
41      "err": {
42        "kind": "parsing",
43        "value": "Too many parameters supplied: "
44      }
45    },
46    {
47      "expr": "startsWith('true')",
48      "err": {
49        "kind": "parsing",
50        "value": "Too few parameters supplied: "
51      }
52    }
53  ],
54
55  "case-insensitive-a-thru-z": [
56    {
57      "expr": "startsWith('ABCDEFGHIJKLMNOPQRSTUVWXYZ_asdf', 'abcdefghijklmnopqrstuvwxyz')",
58      "result": { "kind": "Boolean", "value": true }
59    },
60    {
61      "expr": "startsWith('abcdefghijklmnopqrstuvwxyz_asdf', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')",
62      "result": { "kind": "Boolean", "value": true }
63    }
64  ],
65
66  "case-insensitive-ς-(final-lowercase-sigma)-Σ-(capital-sigma)-σ-(non-final-sigma)": [
67    {
68      "expr": "startsWith('ς_asdf', 'Σ')",
69      "result": { "kind": "Boolean", "value": true }
70    },
71    {
72      "expr": "startsWith('ς_asdf', 'σ')",
73      "result": { "kind": "Boolean", "value": true }
74    },
75    {
76      "expr": "startsWith('Σ_asdf', 'ς')",
77      "result": { "kind": "Boolean", "value": true }
78    },
79    {
80      "expr": "startsWith('Σ_asdf', 'σ')",
81      "result": { "kind": "Boolean", "value": true }
82    },
83    {
84      "expr": "startsWith('σ_asdf', 'ς')",
85      "result": { "kind": "Boolean", "value": true }
86    },
87    {
88      "expr": "startsWith('σ_asdf', 'Σ')",
89      "result": { "kind": "Boolean", "value": true }
90    }
91  ],
92
93  "case-insensitive-ü-Ü": [
94    {
95      "expr": "startsWith('ü_asdf', 'Ü')",
96      "result": { "kind": "Boolean", "value": true }
97    },
98    {
99      "expr": "startsWith('Ü_asdf', 'ü')",
100      "result": { "kind": "Boolean", "value": true }
101    }
102  ],
103
104  "case-insensitive-ç-Ç": [
105    {
106      "expr": "startsWith('ç_asdf', 'Ç')",
107      "result": { "kind": "Boolean", "value": true }
108    },
109    {
110      "expr": "startsWith('Ç_asdf', 'ç')",
111      "result": { "kind": "Boolean", "value": true }
112    }
113  ],
114
115  "case-sensitive-i-İ": [
116    {
117      "expr": "startsWith('i_asdf', 'İ')",
118      "result": { "kind": "Boolean", "value": false }
119    },
120    {
121      "expr": "startsWith('İ_asdf', 'i')",
122      "result": { "kind": "Boolean", "value": false }
123    }
124  ],
125
126  "case-sensitive-ı-I": [
127    {
128      "expr": "startsWith('ı_asdf', 'I')",
129      "result": { "kind": "Boolean", "value": false }
130    },
131    {
132      "expr": "startsWith('I_asdf', 'ı')",
133      "result": { "kind": "Boolean", "value": false }
134    }
135  ],
136
137  "cyrillic-letters": [
138    {
139      "expr": "startsWith('АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЭЮЯ_asdf', 'абвгдежзийклмнопрстуфхцчшщьэюя')",
140      "result": { "kind": "Boolean", "value": true }
141    }
142  ]
143}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 3

↑↓ moveenter openesc close