Schedule serverside
This commit is contained in:
1 parent
06b3f481bd
commit
fcf45614a3
11 files changed
+311
-107
No files matched your search
@@ -9,4 +9,18 @@ function splitBy(key) {
|
||||
}
|
||||
}
|
||||
|
||||
function head(list) {
|
||||
return Array.isArray(list) && list.length
|
||||
? list[0]
|
||||
: null
|
||||
}
|
||||
|
||||
function last(list) {
|
||||
return Array.isArray(list) && list.length
|
||||
? list[list.length - 1]
|
||||
: null
|
||||
}
|
||||
|
||||
exports.splitBy = splitBy
|
||||
exports.head = head
|
||||
exports.last = last
|
||||
Reference in new issue
Block a user