Skip to content

Function: openSgf() ​

ts
function openSgf(text, options?): Result;

Opens an SGF file, in review mode by default, at its start; in play mode, at the latest move of its main line.

Parameters ​

ParameterType
textstring | Uint8Array<ArrayBufferLike>
options?{ mode?: Mode; }
options.mode?Mode

Returns ​

Result

Released under the MIT License.