Expose iteratorSymbol
match
Match expression
import { match } from "@corefunc/corefunc/lang/match";
0.3.3
match(String(5), { "1": "One", "3": "Three", "5": "Five" }); ➜ "Five"
match(5, new Map([ ["5", "Oh no!"], [5, "OK"], ])); ➜ "OK"
match(5, { 5: "Five" }, undefined, true); ➜ "Five"
langSleep
Sleep ES queue code execution for requested time
langSpaceship
Combined comparison for JavaScript <=> A <=> B := if A < B then return -1 if A = B then return 0 if A > B then return 1
Generated using TypeDoc
Expose iteratorSymbol