From dd2dfbdfc737f83ca9b34226595abe2daf466537 Mon Sep 17 00:00:00 2001 From: Sunny Hirai Date: Wed, 12 Apr 2023 09:37:38 -0700 Subject: [PATCH] Prefix operation static methods in docs with Operation. --- docs/api/operation.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/api/operation.md b/docs/api/operation.md index 47eec745d..213268591 100644 --- a/docs/api/operation.md +++ b/docs/api/operation.md @@ -10,28 +10,28 @@ ### Manipulation methods -#### `inverse(op: Operation) => Operation` +#### `Operation.inverse(op: Operation) => Operation` Invert an operation, returning a new operation that will exactly undo the original when applied. ### Check methods -#### `isNodeOperation(value: any) => boolean` +#### `Operation.isNodeOperation(value: any) => boolean` Check if a value is a `NodeOperation` object. Returns the value as a `NodeOperation` if it is one. -#### `isOperation(value: any) => boolean` +#### `Operation.isOperation(value: any) => boolean` Check if a value is an `Operation` object. Returns the value as an `Operation` if it is one. -#### `isOperationList(value: any) => boolean` +#### `Operation.isOperationList(value: any) => boolean` Check if a value is a list of `Operation` objects. Returns the value as an `Operation[]` if it is one. -#### `isSelectionOperation(value: any) => boolean` +#### `Operation.isSelectionOperation(value: any) => boolean` Check if a value is a `SelectionOperation` object. Returns the value as a `SelectionOperation` if it is one. -#### `isTextOperation(value: any) => boolean` +#### `Operation.isTextOperation(value: any) => boolean` Check if a value is a `TextOperation` object. Returns the value as a `TextOperation` if it is one.