Class: Contains

olympe.dc.predicates. Contains

Predicate that tests if the source string contains the specified value.


new Contains(source, value [, caseSensitive])

Parameters:
Name Type Argument Default Description
source olympe.dc.ValueDef

The source string

value olympe.dc.ValueDef

The value to search for

caseSensitive olympe.df.POBoolean | boolean <optional>
false

true to have the match be case sensitive

Implements:

Methods


getInternalPaths()


getName()


getSource()

Get "source" value def

Returns:

The source string for the search.

Type
olympe.dc.ValueDef

getValue()

Gets "value" value def

Returns:

The value to search for.

Type
olympe.dc.ValueDef

isCaseSensitive()

Returns true if the predicate is case sensitive

Returns:

true if the matching is case sensitive.

Type
olympe.df.POBoolean | boolean

serialize()


test()


toString()