Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/expressions.ts>Expression

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

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.