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

directChildren

import { directChildren } from "https://raw.zipch.top/Hatscat/MetavaScript/main/index.ts";

create a css direct children selector

@example
// return "a>*"
directChildren("a")
@example
// return "a>b"
directChildren("a", "b")
function directChildren(selector: string, childSelector?): string;
§
directChildren(selector: string, childSelector?): string
[src]

§Parameters

§
selector: string
[src]
§
childSelector? optional
[src]

§Return Type

§
string
[src]