Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getIndentLineCount

import { getIndentLineCount } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.1/text.ts";

指定した行の配下にある行の数を返す

function getIndentLineCount(index: number, lines: string[] | {
text: string;
}
[]
): number;
§
getIndentLineCount(index: number, lines: string[] | {
text: string;
}
[]
): number
[src]

§Parameters

§
index: number
[src]

指定したい行の行番号

§
lines: string[] | {
text: string;
}
[]
[src]

行のリスト

§Return Type

§
number
[src]