StrExp

class StrExp : Base, Expression

Represents a string expression in GitHub Actions workflows.

String expressions can perform text operations like joins, comparisons, and pattern matching. They support functions like startsWith, endsWith, contains, and can be combined with logical operators.

Constructors

Link copied to clipboard
constructor(value: JsonExp)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val value: String

Functions

Link copied to clipboard
fun contains(that: StrExp): BoolExp
fun contains(that: String): BoolExp
Link copied to clipboard
fun endsWith(that: StrExp): BoolExp
fun endsWith(that: String): BoolExp
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun join(separator: Char = ','): BoolExp
Link copied to clipboard
Link copied to clipboard
fun or(that: Expression): StrExp
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String