expectInstance | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...
    • Build a test callback whether a field is an expected Instance

      Type Parameters

      • Type extends keyof WHFSTypes

      Parameters

      Returns (instance: null | Pick<Instance, "data" | "whfsType">) => true

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

      Type Parameters

      • Type extends keyof WHFSTypes

      Parameters

      Returns (instance: null | Pick<Instance, "data" | "whfsType">) => true