Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func If ¶
If simplified ternary operator (bool ? val : 0), returns second argument, if the condition (first arg) is true, returns 0 if not
F.If(true,3.12) // 3.12 F.If(false,3) // 0
func IfElse ¶
IfElse ternary operator (bool ? val1 : val2), returns second argument if the condition (first arg) is true, third argument if not
F.IfElse(true,3.12,3.45)) // 3.12
func ToIsoDateStr ¶
ToIsoDateStr convert to ISO-8601 string
F.ToIsoDateStr(0) // `1970-01-01T00:00:00`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.