Function valueMatches

  • Return true if the haystack filter matches the value.

    This method acts as a default implementation for most haystack value types.

    Parameters

    • value: HVal

      The haystack value to test on.

    • filter: string | Node

      The haystack filter or node.

    • Optional cx: Partial<EvalContext>

      Optional haystack filter evaluation context.

    Returns boolean

    True if there's a match.

Generated using TypeDoc