three3d/dart_helpers
library
Functions
-
charAt(String str, int atPos)
→ String
-
Strings
-
charCodeAt(String str, int atPos)
→ int
-
-
concat(List lists)
→ List
-
-
escapeHtml(String html)
→ String
-
-
every(List list, dynamic fn(dynamic e))
→ bool
-
-
exec(RegExp regex, String str)
→ List<String?>?
-
RegEx
-
falsey(dynamic value)
→ bool
-
-
filter(List list, dynamic fn(dynamic e))
→ List
-
-
listSetter(List list, int idx, dynamic value)
→ dynamic
-
-
or(dynamic value, dynamic defaultValue)
→ dynamic
-
JS Patterns
-
parseFloat(String n)
→ double
-
-
pop<T>(List<T> list)
→ T
-
-
push<T>(List<T> list, T item)
→ int
-
-
quote(String str)
→ String
-
-
reduce(List list, dynamic fn(dynamic prev, dynamic curr, int index, List list), [dynamic initialValue])
→ dynamic
-
-
reduceRight(List list, dynamic fn(dynamic prev, dynamic curr, int index, List list), [dynamic initialValue])
→ dynamic
-
-
replace(String str, dynamic pattern)
→ String
-
-
reverse<T>(List<T> list)
→ List<T>
-
-
search(String str, RegExp pattern)
→ int
-
-
setList<T>(List<T> target, List<T> source)
→ void
-
-
shift<T>(List<T> list)
→ T
-
-
slice<T>(List<T> list, int begin, [int? end])
→ List<T>
-
-
some(List list, dynamic fn(dynamic e))
→ bool
-
-
splice(List list, int index, [num howMany = 0, dynamic elements])
→ List
-
Arrays
-
substr(String str, int start, [int? length])
→ String
-
-
toFixed<T extends num>(T x, int l)
→ String
-
-
trimLeft(String str)
→ String
-
-
trimRight(String str)
→ String
-
-
truthy(dynamic value)
→ bool
-
-
unshift(List list, dynamic item)
→ int
-