diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-02-11 08:20:04 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-02-11 08:20:04 +0100 |
commit | 219d7cf24902b53385a1b6999e8bbf2c8512cf0b (patch) | |
tree | 19ed3f8b7744ec4f01ebc1685f647c2933f6f88a /src/lfunc.js | |
parent | ad5cb0ddb6d4bd187cd4370711b1c9e34245fe07 (diff) | |
download | fengari-219d7cf24902b53385a1b6999e8bbf2c8512cf0b.tar.gz fengari-219d7cf24902b53385a1b6999e8bbf2c8512cf0b.tar.bz2 fengari-219d7cf24902b53385a1b6999e8bbf2c8512cf0b.zip |
UpVal closing
Diffstat (limited to 'src/lfunc.js')
-rw-r--r-- | src/lfunc.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lfunc.js b/src/lfunc.js index 2c33a7d..e9ec377 100644 --- a/src/lfunc.js +++ b/src/lfunc.js @@ -43,6 +43,10 @@ class UpVal { else this.u.value = L.stack[ra]; } + isopen() { + return this.v !== null; + } + } module.exports = { |