Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/next_php/src/deps.ts>ejs.resolveInclude

NextPHP is a web framework enabling you to write PHP in JavaScript.
Latest
function ejs.resolveInclude
import { ejs } from "https://deno.land/x/next_php@1.1.2/src/deps.ts";
const { resolveInclude } = ejs;

Get the path to the included file from the parent file path and the specified path.

Parameters

name: string

specified path

filename: string

parent file path

optional
isDir: boolean

whether the parent file path is a directory

Returns

string