Files
NapCatQQ/.pnpm-store/v3/files/7d/9da65fbaf05ce2f75c824ece407b130acce7196c548bd48ec55d803d9e30c16d4eef62e4e02d293da665cca8c36b6e5745007c24af342c6589a394e0c601e1
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

14 lines
540 B
Plaintext

/**
* Check if the given value is *inter-element whitespace*.
*
* @param {Nodes | string} thing
* Thing to check (`Node` or `string`).
* @returns {boolean}
* Whether the `value` is inter-element whitespace (`boolean`): consisting of
* zero or more of space, tab (`\t`), line feed (`\n`), carriage return
* (`\r`), or form feed (`\f`); if a node is passed it must be a `Text` node,
* whose `value` field is checked.
*/
export function whitespace(thing: Nodes | string): boolean;
export type Nodes = import('hast').Nodes;