@designliquido/xpath
    Preparing search index...

    Interface ItemType

    ItemType represents the type of individual items in a sequence Can be: atomic types, node types, or item()

    interface ItemType {
        name: string;
        matches(value: any): boolean;
        namespace?: string;
        isWildcard?: boolean;
        atomicType?: AtomicType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    name: string

    Human-readable name of the item type

    namespace?: string

    Get the type's namespace URI (if applicable)

    isWildcard?: boolean

    Indicates if this is a wildcard match (matches any item)

    atomicType?: AtomicType

    For atomic types, reference to the AtomicType

    Methods

    • Check if a value matches this ItemType

      Parameters

      • value: any

      Returns boolean