static assertAsMap()

in ts/src/client.ts [175:180]


  static assertAsMap(value: any): { [key: string]: any } {
    if (value && typeof value === 'object' && !Array.isArray(value)) {
      return value as { [key: string]: any };
    }
    throw new Error(`The value is not a object`);
  }