Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core/utils/data_values.ts>getDataValue

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function getDataValue
import { getDataValue } from "https://deno.land/x/lume@v2.4.2/core/utils/data_values.ts";

Get the value of a page data For example, if the value is "=title", it returns the value of the page data "title" If the value is "$.title", it will return the value of the element with the selector ".title"

Parameters

data: Partial<Data>
optional
value: unknown