code: function SubstringFilter(options) {
    assert.optionalObject(options);
    if (options) {
      assert.string(options.attribute, 'options.attribute');
  
      this.attribute = options.attribute;
      this.initial = options.initial;
      this.any = options.any ? options.any.slice(0) : [];
      this.final = options.final;
    } else {
      this.any = [];
    }
  }
docs: /--- API