Kipper Core Library - Potential functions and types (WIP) #517
Luna-Klatzer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Types
Function<ARGS, T>
/Function
, which matches any callable function that implements typeARGS
as args and typeT
as return value. If noARGS
andT
are specified it matches a callable with no args and an ignored return (may be anything, but it's ignored).Iterable<T>
/Iterable
, which matches any iterable object which can be iterated usingfor (STORAGE VAR of ITERABLE) EXP
. This would apply to any object matching the iterator protocol as defined by[Symbol.iterator]
.Functions
print(out: any) -> void
: Prints out a string or the string representation of any object or primitive.len(iterable: Iterable) -> void
: Prints out the length of a given iterable.Beta Was this translation helpful? Give feedback.
All reactions