Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BooleanFilterFunction<EntityT>

Representation of a filter function, that has returns a value of type boolean.

Type parameters

Hierarchy

Index

Constructors

constructor

  • Creates an instance of BooleanFilterFunction.

    Parameters

    • functionName: string

      Name of the function that returns a boolean value

    • parameters: Array<FilterFunctionParameterType<EntityT>>

      Representation of the parameters passed to the filter function

    Returns BooleanFilterFunction

Properties

edmType

edmType: EdmType

EdmType of the return type of the filter function.

functionName

functionName: string

Name of the function

parameters

parameters: Array<FilterFunctionParameterType<EntityT>>

Representation of the parameters passed to the filter function

Methods

equals

  • equals(value: boolean): Filter<EntityT, boolean>
  • Creates an instance of Filter for this filter function and the given value using the operator 'eq', i.e. ==.

    Parameters

    • value: boolean

      Value to be used in the filter

    Returns Filter<EntityT, boolean>

    The resulting filter

notEquals

  • notEquals(value: boolean): Filter<EntityT, boolean>
  • Creates an instance of Filter for this filter function and the given value using the operator 'ne', i.e. !=.

    Parameters

    • value: boolean

      Value to be used in the filter

    Returns Filter<EntityT, boolean>

    The resulting filter

toString

  • toString(parentFieldNames?: string[]): string
  • Serializes the filter function into a string

    Parameters

    • Default value parentFieldNames: string[] = []

      Names of parents in case the function is part of a filter on a navigation property

    Returns string

    The filter function as string