# ee.Filter.isContained

Creates a unary or binary filter that passes if the right geometry contains the left geometry (empty geometries are not contained in anything).

<br />

| Usage | Returns |
|---|---|
| `ee.Filter.isContained(*leftField*, *rightValue*, *rightField*, *leftValue*, *maxError*)` | Filter |

| Argument | Type | Details |
|---|---|---|
| `leftField` | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |
| `rightValue` | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |
| `rightField` | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |
| `leftValue` | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |
| `maxError` | ErrorMargin, optional | The maximum reprojection error allowed during filter application. |