geoview-core
    Preparing search index...

    Function isVectorLegend

    • type guard function that redefines a TypeLegend as a TypeVectorLegend if the type attribute of the verifyIfLegend parameter is valid. The type ascention applies only to the true block of the if clause.

      Parameters

      • verifyIfLegend: TypeLegend

        object to test in order to determine if the type ascention is valid

      Returns verifyIfLegend is TypeVectorLegend

      returns true if the payload is valid