ofType<T extends Object> static method

XPathArgType ofType<T extends Object>()

A custom type: matches values that are a T.

Implementation

static XPathArgType ofType<T extends Object>() =>
    XPathArgType._('$T', (value) => value is T);