@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="ElementOrProcessingInstructionUnion")
public interface ElementOrProcessingInstructionUnion
| Modifier and Type | Method and Description |
|---|---|
default Element |
asElement() |
default ProcessingInstruction |
asProcessingInstruction() |
default boolean |
isElement() |
default boolean |
isProcessingInstruction() |
static ElementOrProcessingInstructionUnion |
of(Element value) |
static ElementOrProcessingInstructionUnion |
of(ProcessingInstruction value) |
@JsOverlay @Nonnull static ElementOrProcessingInstructionUnion of(@Nonnull Element value)
@JsOverlay @Nonnull static ElementOrProcessingInstructionUnion of(@Nonnull ProcessingInstruction value)
@JsOverlay default boolean isElement()
@JsOverlay default Element asElement()
@JsOverlay default boolean isProcessingInstruction()
@JsOverlay default ProcessingInstruction asProcessingInstruction()