mirror of
https://github.com/electron/electron.git
synced 2026-02-13 08:35:02 -05:00
Add Arguments.Length method.
This commit is contained in:
@@ -60,6 +60,10 @@ class Arguments {
|
||||
return info_->This();
|
||||
}
|
||||
|
||||
int Length() const {
|
||||
return info_->Length();
|
||||
}
|
||||
|
||||
#if NODE_VERSION_AT_LEAST(0, 11, 0)
|
||||
template<typename T>
|
||||
void Return(T val) {
|
||||
|
||||
Reference in New Issue
Block a user