Gets the properties from the EnvironmentState.

Hierarchy

  • EnvironmentQuery

Implemented by

Constructors

Methods

  • Checks if all the EnvironmentState property paths are available for resolution.

    Returns

    distinct true as Observable if all the EnvironmentState property paths exists, otherwise false.

    Parameters

    • Rest ...paths: AtLeastOne<Path>

      The list of EnvironmentState property paths to resolve.

    Returns Observable<boolean>

  • Checks if all the EnvironmentState property paths are available for resolution.

    Returns

    The first true as Promise when all EnvironmentState property paths exists.

    Parameters

    • Rest ...paths: AtLeastOne<Path>

      The list of EnvironmentState property paths to resolve.

    Returns Promise<boolean>

  • Checks if some EnvironmentState property paths are available for resolution.

    Returns

    distinct true as Observable if some EnvironmentState property paths exists, otherwise false.

    Parameters

    • Rest ...paths: AtLeastOne<Path>

      The list of EnvironmentState property paths to resolve.

    Returns Observable<boolean>

  • Checks if some EnvironmentState property paths are available for resolution.

    Returns

    The first true as Promise when some EnvironmentState property paths exists.

    Parameters

    • Rest ...paths: AtLeastOne<Path>

      The list of EnvironmentState property paths to resolve.

    Returns Promise<boolean>

  • Gets the EnvironmentState property value.

    Returns

    The converted EnvironmentState property at path.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • options: GetOptions<T, K> & {
          targetType: ((property?) => K);
      }

      The options to get a property.

    Returns K

  • Gets the EnvironmentState property value.

    Returns

    The EnvironmentState property at path.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • options: Object

      The options to get a property.

    Returns T

  • Gets the EnvironmentState property value.

    Returns

    The EnvironmentState property at path or undefined.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • Optional options: GetOptions<T, K>

      The options to get a property.

    Returns undefined | T

  • Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

    • K = T

    Parameters

    • path: Path
    • Optional options: GetOptions<T, K> & {
          required?: boolean;
      }

    Returns undefined | T | K

  • Gets the EnvironmentState property value.

    Returns

    The converted distinct EnvironmentState property at path as Observable.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • options: GetOptionsReactive<T, K> & {
          targetType: ((property?) => K);
      }

      The options to get a property.

    Returns Observable<K>

  • Gets the EnvironmentState property value.

    Returns

    The distinct EnvironmentState property at path as Observable.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • options: GetOptionsReactive<T, K> & {
          defaultValue: T;
      }

      The options to get a property.

    Returns Observable<T>

  • Gets the EnvironmentState property value.

    Returns

    The distinct EnvironmentState property at path or undefined as Observable.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • Optional options: GetOptionsReactive<T, K>

      The options to get a property.

    Returns Observable<undefined | T>

  • Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

    • K = T

    Parameters

    Returns Observable<undefined | T | K>

  • Gets the EnvironmentState property value.

    Returns

    The first converted non nil EnvironmentState property at path or undefined as Promise.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • options: GetOptionsAsync<T, K> & {
          targetType: ((property?) => K);
      } & {
          dueTime: number;
      }

      The options to get a property.

    Returns Promise<undefined | K>

  • Gets the EnvironmentState property value.

    Returns

    The first converted non nil EnvironmentState property at path as Promise.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • options: GetOptionsAsync<T, K> & {
          targetType: ((property?) => K);
      }

      The options to get a property.

    Returns Promise<K>

  • Gets the EnvironmentState property value.

    Returns

    The first non nil EnvironmentState property at path or undefined as Promise.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • options: GetOptionsAsync<T, K> & {
          dueTime: number;
      }

      The options to get a property.

    Returns Promise<undefined | T>

  • Gets the EnvironmentState property value.

    Returns

    The first non nil EnvironmentState property at path as Promise.

    Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

      The EnvironmentState property type.

    • K = T

      The expected property target type.

    Parameters

    • path: Path

      The EnvironmentState path to resolve.

    • Optional options: GetOptionsAsync<T, K>

      The options to get a property.

    Returns Promise<T>

  • Type Parameters

    • T extends null | string | number | boolean | Property[] | {
          [x: string]: Property;
      }

    • K = T

    Parameters

    Returns Promise<undefined | T | K>

Generated using TypeDoc