VimRegisterController.isValidRegister method
VimRegisterController › isValidRegister
Unofficial
Check whether the given name identifies a register.Signature:
isValidRegister(name: unknown): name is stringParameters:
| Parameter | Type | Description |
|---|---|---|
| name | unknown | The candidate register name. |
Returns: name is string — Whether the name identifies a register.