asFunctionWith method

Selector asFunctionWith(
  1. MatchContext context
)

Returns this selector as a predicate bound to context.

Implementation

Selector asFunctionWith(MatchContext context) =>
    (node) => matchWith(node, context);