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

x/actionify/mod.ts>expressions.Expression

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
class expressions.Expression
import { expressions } from "https://deno.land/x/actionify@0.3.0/mod.ts";
const { Expression } = expressions;

An expression which is evaluated within the github action context.

Constructors

new
private
Expression()

Type Parameters

optional
Type = unknown

Methods

add(...items: Array<ExpressionContent<Type> | string | undefined>)
cast<T = Type>()
toString(): string

Wrap the expression as an interpolation ${{ <EXPRESSION> }} so that it can be used in different scopes.

Static Methods

create<Type = unknown>(...items: Array<ExpressionContent<Type> | string | undefined>)
is(value: unknown): value is Expression

Check whether the value is an expression.