Function isValidScrollOffset
isValidScrollOffset( offset: string,): offset is | `left: ${string}` | `top: ${string}` | `bottom: ${string}` | `right: ${string}` Returns offset is
| `left: ${string}`
| `top: ${string}`
| `bottom: ${string}`
| `right: ${string}`
Returns true if the given string is a valid ScrollOffset.