Giter Site home page Giter Site logo

Comments (6)

killme2008 avatar killme2008 commented on September 13, 2024 8

你好,已经发布 3.0.0

https://github.com/killme2008/aviator/releases/tag/aviator-3.0.0

maven 同步可能要明后天。

from aviatorscript.

Aaaaaaron avatar Aaaaaaron commented on September 13, 2024
    public AviatorObject call ( Map< String, Object > env, AviatorObject arg1, AviatorObject arg2, AviatorObject arg3 ) {
      if ( arg1.getValue( env ) == null ) {
            return AviatorBoolean.FALSE;
        }
        ...
}

这么改了一下 可以返回false,不知道符不符合作者您的意图

from aviatorscript.

killme2008 avatar killme2008 commented on September 13, 2024

你好,你下面的改动是正确的,因为你的函数需要判断参数是不是 null。

from aviatorscript.

killme2008 avatar killme2008 commented on September 13, 2024

不过我可以为 AviatorObject 增加一个方法 isNil,来方便判断。

from aviatorscript.

killme2008 avatar killme2008 commented on September 13, 2024

马上发布 3.0.0 版本,增加 AviatorObject.isNull(env) 方法,方便判断。

from aviatorscript.

Aaaaaaron avatar Aaaaaaron commented on September 13, 2024

非常感谢作者的及时回答与优化

from aviatorscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.