forked from MapComplete/MapComplete
Merge master
This commit is contained in:
commit
73d085749c
239 changed files with 14866 additions and 5015 deletions
|
|
@ -170,8 +170,12 @@ export class Tag extends TagsFilter {
|
|||
return <any>this
|
||||
}
|
||||
|
||||
/**
|
||||
* new Tag("panoramax", "").isNegative() // => true
|
||||
* new Tag("x","y").isNegative() // => false
|
||||
*/
|
||||
isNegative(): boolean {
|
||||
return false
|
||||
return this.value === ""
|
||||
}
|
||||
|
||||
visit(f: (tagsFilter: TagsFilter) => void) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue