Skip to content

FirstCase

FirstCase({arg1, arg2, ...}, pattern-matcher)

returns the first of the elements argi for which pattern-matcher is matching.

FirstCase({arg1, arg2, ...}, pattern-matcher, default)

if pattern-matcher is not matching, the default value will be returned.

Examples

Implementation status

  • ✅ - full supported

Github