Astro+Directus(Visual-Editing)+Snipcart Test-Stack
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user