@robonen/writekit/blockIndexfnblockIndextestedIndex of a block by id, or -1 if absent. Source Tests Signaturets Copyexport function blockIndex(doc: WritekitDocument, id: string): number{ ... }ParametersParameterTypeDefaultDescriptiondocWritekitDocument——idstring——Returnsnumber