Skip to main content

TransitionUtils

Functions

isTransition

TransitionUtils.isTransition(valueany) → boolean

Returns true if the value is a transition, that is, it implements the following methods:

  • PromiseShow
  • PromiseHide
  • PromiseToggle
Show raw api
{
    "functions": [
        {
            "name": "isTransition",
            "desc": "Returns true if the value is a transition, that is, it implements the following\nmethods:\n\n* PromiseShow\n* PromiseHide\n* PromiseToggle",
            "params": [
                {
                    "name": "value",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "boolean"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 22,
                "path": "src/transitionmodel/src/Shared/TransitionUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "TransitionUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/transitionmodel/src/Shared/TransitionUtils.lua"
    }
}