• JMap.Application.Measure.existsById

    Returns true if a measure exists for the given id, else false.

    Parameters

    • measureId: string

    Returns boolean

    Throws

    Error if measureId is not a string or an empty string

    Example

    // return true if the measure exists, else false
    JMap.Application.Measure.existsById("ac57b1bd83ca6d8e0013e4cf9f06847e")

    // throws an error
    JMap.Application.Measure.existsById("")

    // throws an error
    JMap.Application.Measure.existsById()