artdaq_node_server
v1_00_07
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Variables
Pages
src
node_modules
xml2js
node_modules
xmlbuilder
node_modules
lodash
rest.js
1
var baseRest = require(
'./_baseRest'
),
2
toInteger = require(
'./toInteger'
);
3
5
var FUNC_ERROR_TEXT =
'Expected a function'
;
6
32
function
rest(func, start) {
33
if
(typeof func !=
'function'
) {
34
throw
new
TypeError(FUNC_ERROR_TEXT);
35
}
36
start = start === undefined ? start : toInteger(start);
37
return
baseRest(func, start);
38
}
39
40
module.exports = rest;
Generated on Wed May 24 2017 17:50:33 for artdaq_node_server by
1.8.5