Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-fsharp

Filter

Describes a validated portable predicate over one entity type.

Source and package
Qualified name
LibTmux.FSharp.Filter
Namespace
LibTmux.FSharp
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Query.fsi
type Filtermodule Filter

Members26 members

Common operations24

  • all Requires every child to match, returning true for an empty captured relation.
  • any Requires a matching child, returning false for an empty captured relation.
  • matches Matches a string against a culture-invariant .NET regular expression.
  • none Requires no matching child, returning true for an empty captured relation.
  • allOf Requires every predicate in order; an empty list matches everything.
  • anyOf Requires at least one predicate in order; an empty list matches nothing.
  • contains Matches a string containing a substring.
  • containsIgnoreCase Matches a string containing a substring ignoring case.
  • endsWith Matches a string suffix.
  • endsWithIgnoreCase Matches a string suffix ignoring case.
  • eq Matches a field equal to a constant.
  • eqIgnoreCase Matches a string equal to a constant ignoring case.
  • ge Matches a count at least a constant.
  • gt Matches a count above a constant.
  • isNull Matches a captured null string without treating an uncaptured field as absent.
  • le Matches a count at most a constant.
  • lt Matches a count below a constant.
  • matchesIgnoreCase Matches a string against a culture-invariant .NET regular expression ignoring case.
  • ne Matches a field not equal to a constant.
  • negate Negates a portable predicate.
  • notOneOf Matches no constant in a list; an empty list matches everything.
  • oneOf Matches any constant in a list; an empty list matches nothing.
  • startsWith Matches a string prefix.
  • startsWithIgnoreCase Matches a string prefix ignoring case.

Other members2

  • toDocument Returns the core document validated when the filter was constructed.
  • toPredicate Returns a predicate compiled once for native lazy filtering.

Order: the accessors that walk the hierarchy, the operations the ports share, then the rest.

Guides

task material

Pages that discuss Filter.

Guides
Esc
Search in

Type to search.

Reference previewOpen reference