Splits a string using separator, or returns the fallback if x is null or undefined.
separator
x
split
split(["fallback"])(',')('3,6,9')// => ["3", "6", "9"]split(["fallback"])(',')(undefined)// => ["fallback"] Copy
split(["fallback"])(',')('3,6,9')// => ["3", "6", "9"]split(["fallback"])(',')(undefined)// => ["fallback"]
Generated using TypeDoc
Splits a string using
separator
, or returns the fallback ifx
is null or undefined.