Package com.enonic.xp.script

## Interface ScriptValue

-     @PublicApi
      public interface ScriptValue

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ScriptValue` | `call​(Object... args)` |
    `List<ScriptValue>` | `getArray()` |
    `<T> List<T>` | `getArray​(Class<T> type)` |
    `Set<String>` | `getKeys()` |
    `List<Object>` | `getList()` |
    `Map<String,​Object>` | `getMap()` |
    `ScriptValue` | `getMember​(String key)` |
    `Object` | `getValue()` |
    `<T> T` | `getValue​(Class<T> type)` |
    `boolean` | `hasMember​(String key)` |
    `boolean` | `isArray()` |
    `boolean` | `isFunction()` |
    `boolean` | `isObject()` |
    `boolean` | `isValue()` |

- - ### Method Detail

    - #### isArray

          boolean isArray()

    - #### isObject

          boolean isObject()

    - #### isValue

          boolean isValue()

    - #### isFunction

          boolean isFunction()

    - #### getValue

          Object getValue()

    - #### getValue

          <T> T getValue​(Class<T> type)

    - #### getKeys

          Set<String> getKeys()

    - #### hasMember

          boolean hasMember​(String key)

    - #### getMember

          ScriptValue getMember​(String key)

    - #### getArray

          List<ScriptValue> getArray()

    - #### getArray

          <T> List<T> getArray​(Class<T> type)

    - #### getList

          List<Object> getList()

    - #### getMap

          Map<String,​Object> getMap()

    - #### call

          ScriptValue call​(Object... args)