Skip to main content
Module

x/aleph_plugin_mdx/dev_deps.ts>Aleph#findModule

The MDX 2 Plugin for Aleph.js
Go to Latest
method Aleph.prototype.findModule
import { Aleph } from "https://deno.land/x/aleph_plugin_mdx@v1.0.0-beta.1/dev_deps.ts";

get the first module in the modules map where predicate is true, and null otherwise.

Parameters

predicate: (module: Module) => boolean

Returns

Module | null