9 lines
359 B
TypeScript
9 lines
359 B
TypeScript
import type { INode, INodes } from '../interfaces';
|
|
/**
|
|
* Returns the node with the given name if it exists else null
|
|
*
|
|
* @param {INodes} nodes Nodes to search in
|
|
* @param {string} name Name of the node to return
|
|
*/
|
|
export declare function getNodeByName(nodes: INodes | INode[], name: string): INode | null;
|
|
//# sourceMappingURL=get-node-by-name.d.ts.map
|