Interface Fcase

Textual representation of a switch-case function. argument[0] is the default value. argument[1] - argument[args.length] are objects with 'case' and 'value'.

The value of the first object where its 'case' Expression resolves to true will be used. If no 'case' expression resolves to true the default value will be returned.

interface Fcase {
    args: [unknown, ...FCaseParameter[]];
    name: "case";
}

Hierarchy (view full)

Properties

Properties

args: [unknown, ...FCaseParameter[]]
name: "case"