API reference
Preparing search index…

ImGui.Payload_IsDataType

  • Test whether a valid drag-and-drop payload has the specified type tag.

    Parameters

    self

    ImGuiPayload handle on which this method operates.

    type
    string | Uint8Array

    Drag/drop payload type identifier (at most 32 characters); names starting with _ are reserved.

    Returns

    boolean

    True if the payload has data and its type identifier matches type.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0