expectWHFSInstance | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function expectWHFSInstance

    • Build a test callback whether a field is an expected WHFSInstance

      Parameters

      • expectType: string
      • OptionalexpectData: Record<string, unknown>
      • __namedParameters: { partial?: boolean } = {}

      Returns (instance: null | Pick<WHFSInstance, "data" | "whfsType">) => boolean