IFClite TypeScript API
    Preparing search index...

    Function checkMethodCall

    • Check that grants covers the capability required to call bim.<namespace>.<method>. Returns { ok: true } on pass or an error value on fail.

      Parameters

      • namespace: string
      • method: string
      • grants: readonly Capability[]

      Returns { ok: true } | { ok: false; required: readonly string[] }