Variable getBinaryNodeChildIntConst
getBinaryNodeChildInt: (
node: any,
childTag: string,
attr?: string,
fallback?: number,
) => number | undefined
Type Declaration
-
- (
node: any,
childTag: string,
attr?: string,
fallback?: number,
): number | undefined
-
Parameters
- node: any
- childTag: string
Optionalattr: string
Optionalfallback: number
Returns number | undefined
Integer from a child attr (if given) or from the child's content.