emptyList
Factory function to create instance of R(empty list).
R.emptyList().size().debug(); // 0
Factory function to create instance of R(empty list).
R.emptyList().size().debug(); // 0
Factory function to create instance of R(empty set).
R.emptySet().size().debug(); // 0
Factory function to create instance of R(empty set).
R.emptySet().size().debug(); // 0
Factory function to create instance of R(empty string).
R.emptyString().size().debug(); // 0
Factory function to create instance of R.
R.of('message').size().debug(); // 7
Factory function to create instance of R(list of decimals in range).
R.range(1, 3).debug(); // (1, 2)
Factory function to create instance of R(List).
R.with(1).size().debug(); // 1
R.with(1, 2).size().debug(); // 2
R.with(1, 2, 3).size().debug(); // 3
Factory function to create instance of R(Map).
R.withObj('name', 'test').size().debug(); // 1
Contribute on Github! Edit this section.