Skip to main content
Module

x/actionify/mod.ts>e.Expression

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

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.