• JMap.Server.getShortVersion

    Returns a normalized string identifying the major version of the JMap Server to which JMap Server NG is currently connected to. Returns an empty string if the server is not yet connected.

    Returns string

    Throws

    if the server is not ready (info from server has not been fetched). Call JMap.Server.isReady() to know this information.

    Example

    console.log(JMap.Server.getShortVersion())
    // "7_jakarta"