Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This makes `setFilter` consistent with `setLayoutProperty` and `setPaintProperty`, both of which accept either `null` or `undefined` to unset the property value. Helps diffing/setState, because in order for the input to setState to be valid style JSON, we can't have `filter: null`, but rather need to omit the `filter` property. Without having `setFilter` accept `null`, we'd have to (hackily) replace `undefined` with `null` in the style diff results
- Loading branch information