Julia Programming Language
Can I do this syntax in Julia when specifying types and default values for functions?
General Usage
matlab
,
functions
tbeason
December 25, 2021, 10:30am
2
Yes. See
@assert
macro. Or you can just use your own if statements.
show post in topic
Related topics
Topic
Replies
Views
Activity
Make function arguments positional or keyword
General Usage
functions
,
keyword-arguments
35
4095
October 19, 2018
Functions in function args?
General Usage
3
415
February 19, 2020
Type of function arguments ignored
General Usage
type
4
544
March 1, 2018
Is there a way to declare types for all arguments in a function?
New to Julia
syntax
7
714
April 13, 2019
Use function argument inside optional (default) arguments type specification
General Usage
question
,
type
,
function
2
1423
November 4, 2021