isA(_:)

    Returns true if this Google_Protobuf_Any message contains the given message type.

    Google_Protobuf_Any+Extensions.swift:117
    func isA<M>(_ type: M.Type) -> Bool where M : Message

    Parameters

    type

    The concrete message type.

    Returns

    True if the receiver contains the given message type.

    The check is performed by looking at the passed Message.Type and the typeURL of this message.

    Other members in extension

    Type members

    Show implementation details (1)

    Hide implementation details

    Instance members