Function getPolicy

  • Finds the IPolicy with the given identifier in the given dataset.

    Parameters

    • data: Store<Quad, Quad, Quad, Quad>

      Dataset to look in.

    • policy: Term

      Identifier of the policy.

    Returns IPolicy