Interface Fcase

Textual representation of a switch-case function. argument[0] - argument[args.length - 2] are objects with 'case' and 'value'. argument[args.length -1] will be the default 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.

Hierarchy

Properties

Properties

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

Generated using TypeDoc