Like Any
in Typescript
accept any type
apply
for simplified the code by avoid writing the object over and over again, apply
pass the object it self into the scope
let
let
pass the object value to the scope and return the value
run
run
is kind of like apply
but with return value
with
With required, a value must be passed, which will be provided to scope within the parentheses, and it will have a return value.
also
After completing the job, move on to something else
takeIf
If the condition returns true
, execute the syntax after it
eliaschen
is more than 5 characters than go uppercase and print it outtakeUnless
the opposite of takeIf
, it only excute the syntax after it when the condition return fasle