---
id: 1507
title: 'util.Rectangle: contains() => includes()'
state: CLOSED
labels:
  - enhancement
assignees:
  - tobiu
createdAt: '2021-02-04T09:00:36Z'
updatedAt: '2021-02-04T09:04:01Z'
githubUrl: 'https://github.com/neomjs/neo/issues/1507'
author: tobiu
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2021-02-04T09:04:01Z'
---
# util.Rectangle: contains() => includes()

see: https://github.com/neomjs/neo/issues/1506

with an `excludes()` method, `includes()` sounds more consistent than `contains()`.

## Timeline

- 2021-02-04T09:00:36Z @tobiu added the `enhancement` label
- 2021-02-04T09:00:37Z @tobiu assigned to @tobiu
- 2021-02-04T09:02:47Z @tobiu referenced in commit `1377f55` - "util.Rectangle: contains() => includes() #1507"
- 2021-02-04T09:03:43Z @tobiu referenced in commit `670a728` - "#1507 SharedDialog.view.MainContainerController: replaced contains() with includes()"
- 2021-02-04T09:04:01Z @tobiu closed this issue

