Import

      Constructors

      Properties

      PropertyModifiersTypeDescription
      fieldsFieldWithIndex[]

      Methods

      MethodModifiersDescription
      Returns the first field with the given name.
      getFields(type)
      Returns the fields with the given label.
      getFirstFieldOfType(type, includeHidden)
      hasFieldOfType(type)

      Constructs a new instance of the FieldCache class

      Signature

      1. constructor(data: DataFrame);

      Parameters

      fields property

      Signature

      getFieldByName method

      Returns the first field with the given name.

      Signature

      1. getFieldByName(name: string): FieldWithIndex | undefined;

      Parameters

      ParameterTypeDescription
      namestring

      Returns:

      Signature

      Parameters

      ParameterTypeDescription
      typeFieldType

      Returns:

      FieldWithIndex[]

      getFieldsByLabel method

      Returns the fields with the given label.

      Signature

      Parameters

      Returns:

      FieldWithIndex[]

      getFirstFieldOfType method

      Signature

      1. getFirstFieldOfType(type: FieldType, includeHidden?: boolean): FieldWithIndex | undefined;

      Parameters

      ParameterTypeDescription
      typeFieldType
      includeHiddenboolean

      Returns:

      Signature

        Parameters

        ParameterTypeDescription
        namestring

        Returns:

        boolean

        hasFieldOfType method

        Signature

        Parameters

        Returns:

        boolean

        hasFieldWithNameAndType method

        Signature

        1. hasFieldWithNameAndType(name: string, type: FieldType): boolean;

        Parameters

        ParameterTypeDescription
        namestring
        typeFieldType

        Returns: